docker-registry-ui
docker-registry-ui copied to clipboard
Issue with deleting tag when other tag of the same image exists
Hi, I use this docker registry UI and I have an issue...
Bug description
I pushed single image into registry 3 times:
- registry.mydomain.duckdns.org/new-eclipse-mosquitto:latest
- registry.mydomain.duckdns.org/eclipse-mosquitto:latest
- registry.mydomain.duckdns.org/eclipse-mosquitto:new
When I want to delete registry.mydomain.duckdns.org/eclipse-mosquitto:latest or registry.mydomain.duckdns.org/eclipse-mosquitto:new both tags are removed.
The image registry.mydomain.duckdns.org/new-eclipse-mosquitto:latest is not impacted (i.e. not removed).
How to Reproduce
Upload single image with 2 names and 3 tags.
For UI bug, steps to reproduce the behavior:
- Go to image detail, whee is list of images available
- Select one of the duplicated image. the second keep not selected.
- Click on delete icon in the header in the beginning of the page
- The pop-up shows you are about to delete both tags
- when click on DELETE button both images are deleted.
Expected behavior
Only one tag is removed.
Screenshots
System information
- OS: amd64 linux
- Browser:
- Name: Firefox
- Version: 128.3.1esr (64-bit)
- Docker registry UI:
- Version: 2.6.0-b7f732a606
- Server: docker
- Docker version: 20.10.21 (docker registry image: registry:2)
- Docker registry ui tag: latest
- OS/Arch: linux/amd64
- Tools: portainer