-
Notifications
You must be signed in to change notification settings - Fork 20
feat: publish image to ghcr with tag #353
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
feat: publish image to ghcr with tag #353
Conversation
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
This pull request adds automation to publish Docker images to GitHub Container Registry (GHCR) when creating a release. The workflow supports both automatic triggering on version tags and manual dispatch.
Key Changes
- Added
--provenance=falseflag to Docker buildx commands to prevent architecture detection issues in GHCR - Created a new GitHub Actions workflow for building and publishing release images
- Configured automatic and manual release triggers with proper tagging
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| Makefile | Added --provenance=false flag to all three docker-build targets (hub-agent, member-agent, refresh-token) with explanatory comments to fix GHCR architecture detection issues |
| .github/workflows/release.yml | New workflow that triggers on version tags or manual dispatch, computes the registry path and release tag, builds all three agent images using the Makefile, and publishes them to GHCR |
Signed-off-by: Wei Weng <Wei.Weng@microsoft.com>
Signed-off-by: Wei Weng <Wei.Weng@microsoft.com>
7dab07e to
54a5e98
Compare
Signed-off-by: Wei Weng <Wei.Weng@microsoft.com>
0b43422 to
37ef323
Compare
Signed-off-by: Wei Weng <Wei.Weng@microsoft.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Description of your changes
publish image to ghcr with tag when creating a release
I have:
make reviewableto ensure this PR is ready for review.How has this code been tested
Special notes for your reviewer