Deleting tag from registry deletes all tags with the same image
Steps to repro
- Create a docker image (you can
docker pull dockerfor testing purposes) - Tag this image with two different tags in your private registry namespace:
docker tag docker registry.gitlab.com/your/project:test1,docker tag docker registry.gitlab.com/your/project:test2 - Push both tags to GitLab registry
docker push registry.gitlab.com/your/project:test1,docker push registry.gitlab.com/your/project:test2 - Go to GitLab registry UI
- Delete either tag
What happens: both tags are deleted in GitLab registry
What should happen: only one should be deleted
I suspect that what's happening is that the delete button is deleting everything with the same image ID, rather than just deleting the tag.