Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do AWS ECR Lifecycle policies interact with multiplatform images

Specifically, if i have a policy that says to delete images without tags, and i push a multiplatform image - the "Image Index" is tagged, but the "Image" artifact is not tagged. will it get cleaned up by the policy, even though it would not have been had it not been a multiplatform image?

like image 557
Dave Ankin Avatar asked Oct 31 '25 11:10

Dave Ankin


1 Answers

According to the docs: https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html "If an image is referenced by a manifest list, it cannot be expired without the manifest list being deleted first." So even though only the manifest/image-index is tagged for longer expiration, the referenced images will be preserved.

like image 106
Robert Thille Avatar answered Nov 03 '25 01:11

Robert Thille



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!