acr icon indicating copy to clipboard operation
acr copied to clipboard

Repository or Registry wide tag immutability

Open cvs79 opened this issue 2 years ago • 2 comments

What is the problem you're trying to solve I want to be able to prevent image tags from being overwritten. Currently you can disable writing on a repository or specific tag. However, to prevent people from forgetting to do that on an image tag level I would rather have immutability as a feature on registry or at least repository level.

Describe the solution you'd like Deploy an ACR and enable registry wide tag immutability.

Additional context Currently migrating a customer from AWS to Azure and this is a feature that is missing from Azure ACR.

cvs79 avatar May 19 '22 09:05 cvs79

@cvs79 ACR allows lock on repository. Is it what you are looking for?

Use the az acr repository update command to set repository attributes so you can:

Lock an image version, or an entire repository

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-image-lock#lock-a-repository

northtyphoon avatar May 19 '22 16:05 northtyphoon

I want to have repository immutability. So, I don't want to disable writes all together on a repository but rather having a setting that doesnt allow it.

Off course I can build something with a webhook / eventgrid that disables write for a specific tag after a new tag is pushed but it would be nice if it was out of the box functionality instead of needing to build a solution for that

cvs79 avatar May 20 '22 07:05 cvs79

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Nov 07 '23 01:11 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Dec 07 '23 01:12 github-actions[bot]