Comments (14)
By the way, I've been using https://github.com/marketplace/actions/docker-hub-description to do that.
from build-push-action.
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.
from build-push-action.
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.
from build-push-action.
@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.
from build-push-action.
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).
from build-push-action.
+1, pushing updates to the Docker Hub README should 100% be part of the core functionality.
from build-push-action.
@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).
from build-push-action.
Did the team ever got around fixing this?
from build-push-action.
@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!)
from build-push-action.
the documentation using the third party action is available here: https://docs.docker.com/build/ci/github-actions/examples/#update-docker-hub-repository-description
but this issue is open to add that functionality into this action, correct?
from build-push-action.
@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/
from build-push-action.
@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!
from build-push-action.
Hi @SivaKesava1. We want to take a look at matching functionality with auto-builds so this is great feedback. Any thoughts @nebuk89?
from build-push-action.
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?
from build-push-action.
Related Issues (20)
- Error: buildx failed with: ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory HOT 2
- `fatal: Not a valid object name` during `load git source` triggered by `on: push:` (with self-hosted runner) HOT 2
- Not all files present in final build when using `context` HOT 1
- Cache from different multi platform builds doesn't get used HOT 1
- Issue with git clone when the repo include submodules from other repositories HOT 3
- Add support for --progress CLI option
- Use a custom README file for the GitHub package rather than the main project README
- Build image from specific ref HOT 2
- Fail to export cache HOT 6
- x509: certificate signed by unknown authority when importing and exporting cache to self hosted GHE
- buildx failed with: ERROR: attestations are not supported by the current buildkitd HOT 2
- Access to main branch cache form feature branch
- ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory HOT 3
- 400 Bad Request HOT 4
- fatal: could not read Username for 'https://github.com': No such device or address HOT 1
- Path context error when copying file from nested Dockerfile HOT 1
- Local image not being recognized by workflow, using named context doesn't help
- Error: buildx failed with: ERROR: failed to solve: failed to push can't push tagged ref by digest HOT 1
- Support multiple cache-from arguments
- Upgrade to docker 25+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-push-action.