-
-
Notifications
You must be signed in to change notification settings - Fork 13
Add Docker Hub README and description sync to workflow #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Docker Hub README and description sync to workflow #10
Conversation
Co-authored-by: nickytonline <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a CI step to automatically sync the repository README to Docker Hub after publishing images, keeping the Docker Hub description up-to-date.
- Adds peter-evans/dockerhub-description@v3 to the publish workflow
- Uses Docker Hub credentials from repository secrets and README.md as the source
Co-authored-by: Copilot <[email protected]>
|
@copilot also sync the description, |
Co-authored-by: nickytonline <[email protected]>
Head branch was pushed to by a user without write access
Changes
This PR adds automated syncing of the README.md and repository description to Docker Hub, ensuring both the full description and short description stay up-to-date whenever Docker images are published.
Implementation
Added a new step to the
publishjob in.github/workflows/docker.ymlthat uses thepeter-evans/dockerhub-description@v3action. This step:DOCKERHUB_USERNAMEandDOCKERHUB_TOKENsecrets./README.mdfile to the Docker Hub repository's full description${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}Benefits
Fixes the issue where Docker Hub descriptions could become outdated when README or repository description changes are made.
Fixes #9
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.