docker-registry-browser icon indicating copy to clipboard operation
docker-registry-browser copied to clipboard

Group tags

Open johan-smits opened this issue 6 years ago • 3 comments

In our repo we have multiple tags for a single commit. Example when we do a release:

  • latest
  • development
  • stable

Now you can't see in the repo that these are all the same image. When using AWS ECR they are grouped by the hash they refer to. This makes the overview simpler to see that the tags are indeed the same image.

johan-smits avatar Feb 22 '19 12:02 johan-smits

Hi Johan,

thanks for your feature request. Indeed this would be a great enhancement.

Unfortunately the API endpoint I'm using in listing the images does not include the hash :(

To implement the feature you describe would be only possible by doing another API call per tag in the list to get the missing details (including the hash) which would not scale very well in cases with a lot of tags.

I assume ECR and other tools use a database which is updated via web-hooks on every push. This is something I avoid by design in order to keep the docker-registry-browser as simple as possible.

Let's keep this issue around and open in case a future version of the docker registry will provide the needed information in it's API.

Best, Klaus

klausmeyer avatar Feb 22 '19 19:02 klausmeyer

By the way: In case you need something more advanced for self-hosting a registry I can recommend having a look at https://github.com/SUSE/Portus

klausmeyer avatar Feb 22 '19 19:02 klausmeyer

Thanks for the reply, will have a look at it.

johan-smits avatar Feb 25 '19 09:02 johan-smits