Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request
For years, I've been pushing images to ECR with the Docker CLI. The images always included a specific tag, and ECR always happily persisted the tag, which in turn would let me pull the image with that tag at a later time. Standard Docker registry stuff.
For at least a week, ECR has not been persisting the tags, meaning they aren't visible in the AWS console and I can't use them when pulling or enumerating images. After pushing, I can't even see the desired tags in CloudTrail.
I haven't changed anything about how I'm pushing images, so I'm thinking this has to be a bug/regression. I shared the details on re:Post last week: https://repost.aws/questions/QUxpkmUxnIRB2xzIp4BEiO5A/ecr-is-not-storing-tags-for-pushed-images. However, I never got a reply, and after reaching out to AWS Support on Twitter, they pointed me to this repository. I'm hopeful that this will get this report in front of the right people.
Which service(s) is this request for?
ECR.
Are you currently working around this issue?
Using a combination of DescribeImagesCommand, BatchGetImageCommand, and PutImageCommand, I'm able to manually construct an image with the correct tag, but this should be entirely unnecessary. ECR should just record the image tag when I push an image like it did for ages.
Community Note
Tell us about your request
For years, I've been pushing images to ECR with the Docker CLI. The images always included a specific tag, and ECR always happily persisted the tag, which in turn would let me pull the image with that tag at a later time. Standard Docker registry stuff.
For at least a week, ECR has not been persisting the tags, meaning they aren't visible in the AWS console and I can't use them when pulling or enumerating images. After pushing, I can't even see the desired tags in CloudTrail.
I haven't changed anything about how I'm pushing images, so I'm thinking this has to be a bug/regression. I shared the details on re:Post last week: https://repost.aws/questions/QUxpkmUxnIRB2xzIp4BEiO5A/ecr-is-not-storing-tags-for-pushed-images. However, I never got a reply, and after reaching out to AWS Support on Twitter, they pointed me to this repository. I'm hopeful that this will get this report in front of the right people.
Which service(s) is this request for?
ECR.
Are you currently working around this issue?
Using a combination of
DescribeImagesCommand,BatchGetImageCommand, andPutImageCommand, I'm able to manually construct an image with the correct tag, but this should be entirely unnecessary. ECR should just record the image tag when I push an image like it did for ages.