| 用途 | 一次推送多个标签 |
|---|---|
| 语法 | docker push --all-tags 仓库名(不带标签) |
| 配套 | docker buildx imagetools inspect 核对结果 |
示例
示例
docker tag app/web:1.4.2 registry.example.com/team/app/web:1.4.2
docker tag app/web:1.4.2 registry.example.com/team/app/web:latest
docker push --all-tags registry.example.com/team/app/web推送后检查远端标签列表与各标签 digest 是否指向同一镜像,确认发布动作完整。