繁体   English   中英

是否可以在ECR(aws docker注册表)存储库中获取标签历史记录?

[英]is it possible to get the tag history in an ECR (the aws docker registry) repository?

我使用标签来标记当前部署的版本,并且我想知道是否有可能在特定时间查询使用特定标签标记了哪个图像。

尽管可以从外部跟踪这些信息,但使用此选项似乎更可靠。

您可以获取当前标签,但无法获取标签的历史记录。

aws ecr list-images --repository-name test-nginx
{
    "imageIds": [
        {
            "imageTag": "1.0",
            "imageDigest": "sha256:31641ee69cxxx1ca550a754376e9077f6f9134ad41e27"
        },
        {
            "imageTag": "latest",
            "imageDigest": "sha256:31641ee69cda92e0xxx9077f6f9134ad41e27"
        }
    ]
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM