Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我四处寻找,找不到真正的答案。如果我创建一个 docker git repo 并将 autobuild 设置到我的 dockerhub 帐户,它将使用单个标签(即 latest,或 1.0 或 foo)构建,但我找不到任何方法来添加标签,因为你可以通过命令与本地构建的 docker 映像一致。拉下图像然后重新标记不起作用,因为自动构建存储库在 webui 之外是只读的。
能够手动将标签添加到现有构建中会满足我现在的需求,但是能够编写脚本以获取正确的标签版本将是最好的解决方案。
您可以通过 UI 间接地做到这一点:
Name