Open wiktor-k opened 1 year ago
Docker Hub does not update image description when I push an image labelled with
org.opencontainers.artifact.description
.
Can you please elaborate on what you mean by "update image description"? Do you mean updating the [short] description of the repository that stores the image with the given label?
Do you mean updating the [short] description of the repository that stores the image with the given label?
Yes, that's what I mean. I've marked it as "this description" on the image below so that it's super clear:
Perhaps this one may be a good fit for our public roadmap (which can help collect more feedback and to prioritise); feel free to open a ticket there with a full description; https://github.com/docker/roadmap/issues
This is also complicated - you can have different images in the same repo each of which can have arbitrary labels. How do imagine this working? Which one wins?
Perhaps this one may be a good fit for our public roadmap (which can help collect more feedback and to prioritise); feel free to open a ticket there with a full description; https://github.com/docker/roadmap/issues
Thanks for the guidance! I wasn't sure where to open the ticket in the first place :)
This is also complicated - you can have different images in the same repo each of which can have arbitrary labels. How do imagine this working? Which one wins?
Indeed this can be solved in many ways. I'll suggest one: last push to latest
tag "wins" and overwrites the description.
There's also an alternate, "conservative" solution: update on push only when the repository description(/url) is empty and the label is present in the pushed image. Thus the description would be set only once.
Problem description
Docker Hub does not update image description when I push an image labelled with
org.opencontainers.artifact.description
.I'm managing a number of images and would like to streamline the process of updating metadata that is displayed on Docker Hub. I think automatically reading image labels and updating metadata on Hub side would simplify the process.
Consider the following image: https://hub.docker.com/v2/repositories/wiktork/paperboy
The description is empty even though the image has appropriate label set:
The same treatment could be applied to other labels (such as
org.opencontainers.image.url
).docker info
outputDocker Info:
Debug Information
Browser name and version: Firefox 111
URL: https://hub.docker.com/r/wiktork/paperboy
Timestamp or time range: CEST
Hub Username: wiktork
Screenshots of the issue (if applicable)
(No description even though image has an appropriate label).
Task List