containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[ECR] [REPLICATION] [feature]: Allow image tag filters in ECR cross account replication along with the current Repo filter.

Open pratik268 opened this issue 1 month ago • 0 comments

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 We currently have a docker image workflow like we build the images in Dev and will later promote to stage and prod, I want to use the Cross-account replication but it currently doesn't allow the tag based filter, it only allows the repo filter, But It will be nice to have a tag filter so that we can only replicate the certain tags and avoid replicating tags which shouldn't be in the Prod.

Which service(s) is this request for? ECR

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? We were using the cross-account replication for ECR and we noticed that it will replicate all the images with all the tags in particular repo and if we want to have only dev specific images then we have to disable the cross-account replication which adds complication in few scenarios. So if we have a tag based filter then we can make sure that the images with certain tags only gets replicated to the Production.

Are you currently working around this issue? We have a workaround where we simple stop the replication whenever we want to push something Dev specific.

Additional context I might have missed few things and maybe this can be achieved in any another way, Happy to discuss any solution.

Attachments NA

pratik268 avatar May 17 '24 10:05 pratik268