Skip to content

Commit c32c7d2

Browse files
edits
1 parent 7958807 commit c32c7d2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

articles/container-registry/container-registry-image-lock.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,16 @@ az acr repository update \
189189
--delete-enabled true --write-enabled true
190190
```
191191

192+
However, if a customer applies a lock on the manifest, they would indeed need to run an additional command to unlock the manifest.
193+
194+
```azurecli
195+
az acr repository update \
196+
--name myregistry \
197+
--image $repo@$digest \
198+
--delete-enabled true \
199+
--write-enabled true
200+
```
201+
192202
## Next steps
193203

194204
In this article, you learned about using the [az acr repository update][az-acr-repository-update] command to prevent deletion or updating of image versions in a repository. To set additional attributes, see the [az acr repository update][az-acr-repository-update] command reference.

0 commit comments

Comments
 (0)