-
Notifications
You must be signed in to change notification settings - Fork 106
ci: publish Docker images to GHCR on release #233
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
base: main
Are you sure you want to change the base?
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 PR extends the Docker workflow to publish bpftool container images to GitHub Container Registry (GHCR) when version tags are pushed or changes are merged to the main branch. It adds multi-architecture support (amd64/arm64) and build caching while preserving the existing PR testing workflow.
Changes:
- Add trigger for version tags and configure GHCR publishing on push events
- Add multi-architecture build support with Docker Buildx and QEMU
- Add build caching using GitHub Actions cache for improved build performance
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
bf3e855 to
4e6a4cc
Compare
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
Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Extend the existing docker workflow to push images to GitHub Container Registry (ghcr.io/libbpf/bpftool) when a new tag is pushed or when changes are merged to main. - Add trigger for version tags (v*.*.*) - Add GHCR login and push steps - Add multi-arch build support (linux/amd64, linux/arm64) - Add build caching using GitHub Actions cache - Add explicit latest tag support for version releases - Skip multi-arch build for PRs to optimize CI resources - Keep existing PR testing workflow Link: libbpf#232 Signed-off-by: Gyutae Bae <gyutae.bae@navercorp.com>
4e6a4cc to
cb04af6
Compare
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
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@qmonnet |
Summary
Extend the existing docker workflow to push images to GitHub Container Registry (ghcr.io/libbpf/bpftool) when a new tag is pushed or when changes are merged to main.
Behavior
maintagTest