Replies: 1 comment 1 reply
-
|
I think it's clear our defaults aren't good here. Retaining images forever and having the registries fill up and/or trigger compliance issues due to old images staying around isn't the place we want to be as a baseline. I'm thinking we change are defaults to simply tagging with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The current deployment situation for ACA and AppService is to push to a Azure Container Registry (ACR). By default, old images are never purged from the ACR.
There is a preview feature in ACR: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-retention-policy. But this feature requires:
Setting the SKU is relatively easy. But the issue is the "untagged" manifests part. By default Aspire will tag every image with a date stamped tag:
So when new images are pushed, a new tag is created. Which means the old images will never be untagged.
Should we change the tagging policy on these images? We have an escape hatch for people to do it themselves. But should we update the default behavior?
cc @davidfowl @mitchdenny @DamianEdwards
Beta Was this translation helpful? Give feedback.
All reactions