You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update Readme and description with push on Docker hub #21
Currently, if we use the Github action with this repo, the image is built and pushed to the Docker hub, but the Readme and description are not updated on the Docker hub webpage. It would be nice to have this in the future to use this action and altogether disable auto build.
Reacted by Ryo Ota, Dominik Nakamura, Moritz E. Beber, chivorotkiv, Nuno Agostinho, fightinggg, Tim Pietz, Gabriel Claudiu Georgiu, Sylvain Bellemare, Florian Nagel and 12 more
Here's another github action that can set/update the container repo description from the README in the github repo.
It supports container repos on Docker Hub, Harbor v2 and Quay.
For Dockerhub it's possible to set both the short description and the full description (README).
@crazy-max and folks, can we re-open this to get this core capability as part of this official docker action? I'd rather use that than start piling up on third-party actions. Regardless of the community ecosystem around Docker related actions, I think this is a very core capability that I'd expect to have with this action.
Reacted by Logger, Shane St Savage and Baruch Odem (Rothkoff)
@lirantal +1 for this. For the meantime, I created a Docker CLI plugin and a github action based on it to fill this gap. Feel free to open an issue if you feel it doesn't serve your needs. (Yes, it's an additional action/job step ... but github actions is all about modularity imho).
@whizzzkid Did the team ever got around fixing this?
yes, it's now possible to set the repo description when authenticated with a PAT (was fixed earlier this year, there was another github issue about it that I can't seem to find at the moment). (Thanks to anyone from the Docker Hub team involved with this!)
Seems this one went a bit under the radar for too long 😅. Should be an easy PR to pop in. Will work on this week to include repo description to update.
Edit: So after discussing with @crazy-max, we believe the best way forward is to keep the updating of the description in a separate action as this action is fully revolved around Buildx. We have some ideas to make this a bit easier with reusing the same bearer token obtained from login though. Some PRs are gonna come to make smaller quality of life improvements.
Reacted by Michael Diamond, Daniel Brown, Liran Tal, Juniper Simonis, Baruch Odem (Rothkoff) and Mitja O
@add-n2x I haven't tried this action, but my tool Docker Push Readme, which roughly uses the same mechanism, still works. (Tried today with Docker Hub, with a free account, with a personal access token (PAT)). So there's unlikely a new restriction on the Docker Hub side.
This github action updates the description of a container repo on Docker Hub, Quay or Harbor v2 from a README file.
This is useful when building and pushing Docker images with github actions. It can ensure that the description of a container repo stays in sync with the README file in the github repo.
Activity
zappy-shu commentedon Mar 23, 2020
Hi @SivaKesava1. We want to take a look at matching functionality with auto-builds so this is great feedback. Any thoughts @nebuk89?
felipecrs commentedon May 12, 2020
By the way, I've been using https://github.com/marketplace/actions/docker-hub-description to do that.
christian-korneck commentedon Jul 12, 2020
Here's another github action that can set/update the container repo description from the README in the github repo.
It supports container repos on Docker Hub, Harbor v2 and Quay.
For Dockerhub it's possible to set both the short description and the full description (README).
update-container-description
lirantal commentedon Jun 27, 2021
@crazy-max and folks, can we re-open this to get this core capability as part of this official docker action? I'd rather use that than start piling up on third-party actions. Regardless of the community ecosystem around Docker related actions, I think this is a very core capability that I'd expect to have with this action.
christian-korneck commentedon Jun 27, 2021
@lirantal +1 for this. For the meantime, I created a Docker CLI plugin and a github action based on it to fill this gap. Feel free to open an issue if you feel it doesn't serve your needs. (Yes, it's an additional action/job step ... but github actions is all about modularity imho).
lirantal commentedon Jun 27, 2021
Thanks!
Maybe it's worth to ping @peter-evans and ask if they'd like to contribute a pull request that adds this capability to this official action?
crazy-max commentedon Jun 27, 2021
We will work on this. Keep you in touch! (cc @technicallyjosh)
@lirantal Some changes may be required to allow a PAT to modify the README on Docker Hub. ATM only username/password credentials work.
Upload README.md documentation in docker hub
whizzzkid commentedon Dec 16, 2022
Did the team ever got around fixing this?
christian-korneck commentedon Dec 16, 2022
yes, it's now possible to set the repo description when authenticated with a PAT (was fixed earlier this year, there was another github issue about it that I can't seem to find at the moment). (Thanks to anyone from the Docker Hub team involved with this!)
1 remaining item
srstsavage commentedon Mar 6, 2023
+1, pushing updates to the Docker Hub README should 100% be part of the core functionality.
Update Docker Hub README on main push
Update Docker Hub README on main push or tag release
Alw3ys commentedon Apr 22, 2023
@djbrown link is broken, for the next ones coming here to find the link. here it is:
https://docs.docker.com/build/ci/github-actions/update-dockerhub-desc/
dotjoshrc commentedon May 17, 2023
Seems this one went a bit under the radar for too long 😅. Should be an easy PR to pop in. Will work on this week to include repo description to update.
Edit: So after discussing with @crazy-max, we believe the best way forward is to keep the updating of the description in a separate action as this action is fully revolved around Buildx. We have some ideas to make this a bit easier with reusing the same bearer token obtained from login though. Some PRs are gonna come to make smaller quality of life improvements.
Update Docker Hub Description in CI-Build
Update Docker Hub Description in CI-Build
fix: Update DockerHub API
fix: Update DockerHub API
baruchiro commentedon Mar 10, 2024
@technicallyjosh @crazy-max Can you please give us a link to the new issue you're working with, so we can follow the work there?
Thank you!
add-n2x commentedon Dec 31, 2024
Should this be still working? I get "forbidden" messages and assume it's not working in the free DockerHub plan anymore.
christian-korneck commentedon Dec 31, 2024
@add-n2x I haven't tried this action, but my tool Docker Push Readme, which roughly uses the same mechanism, still works. (Tried today with Docker Hub, with a free account, with a personal access token (PAT)). So there's unlikely a new restriction on the Docker Hub side.
snowdream commentedon Dec 31, 2024
I have tried christian-korneck/update-container-description-action .
This github action updates the description of a container repo on Docker Hub, Quay or Harbor v2 from a README file.
This is useful when building and pushing Docker images with github actions. It can ensure that the description of a container repo stays in sync with the README file in the github repo.
https://github.com/snowdreamtech/base/blob/main/.github/workflows/description.yml