Update prevent-tags-from-being-overwritten.md

Incorporate @ddeyo 's feedback.
This commit is contained in:
Maria Bermudez 2018-10-18 13:12:26 -07:00 committed by GitHub
parent ee694e28eb
commit 09b0ab55d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ keywords: registry, immutable
By default, users with [read and write access](../../admin/manage-users/permission-levels/) to a repository can push the same tag By default, users with [read and write access](../../admin/manage-users/permission-levels/) to a repository can push the same tag
multiple times to that repository. For example, when ***user A*** pushes an image to `{{ org }}/{{ repo }}:{{ tag }}`, there is no preventing ***user B*** multiple times to that repository. For example, when ***user A*** pushes an image to `{{ org }}/{{ repo }}:{{ tag }}`, there is no preventing ***user B***
from pushing an image with the same name but a completely different functionality. from pushing an image with the same name but a completely different functionality. This can make it difficult to trace the image back to the build that generated
it.
To prevent tags from being overwritten, you can configure a repository to be immutable. To prevent tags from being overwritten, you can configure a repository to be immutable.
Once configured, DTR will not allow anyone else to push another image tag with the same name. Once configured, DTR will not allow anyone else to push another image tag with the same name.