acr icon indicating copy to clipboard operation
acr copied to clipboard

Lock image: provide a solution to block updating an image but still allow deleting it

Open northtyphoon opened this issue 4 years ago • 2 comments

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

Current ACR provide two lock mode,

  1. write-enabled: block both update and delete
  2. delete-enabled: allow update but block delete only

There is no solution to block update but allow delete

northtyphoon avatar Jul 21 '21 00:07 northtyphoon

Basically, it is an archive mode.

shizhMSFT avatar Aug 04 '21 09:08 shizhMSFT

@northtyphoon - should we close this since there is no plan to fix this issue. Changing the behavior of the write flag is a breaking change. @shizhMSFT's suggestion of archive sounds like an option. Azure storage does have an archive status

sajayantony avatar Dec 21 '21 19:12 sajayantony

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 19 '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 20 '23 01:12 github-actions[bot]