-
Notifications
You must be signed in to change notification settings - Fork 43
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
ci: multi-platform docker build #159
Conversation
WalkthroughThis pull request updates the GitHub Actions workflow for Docker. It upgrades several action versions—actions/checkout from v3 to v4, docker/login-action from v2 to v3, docker/metadata-action from v4 to v5, and docker/build-push-action from v4 to v5. In addition, new steps are introduced to set up QEMU and Buildx for multi-platform builds, along with updated build-push parameters for targeting linux/amd64 and linux/arm64 and caching with GitHub Actions. The image push condition based on tag references remains unchanged. Changes
Sequence Diagram(s)sequenceDiagram
participant GHA as GitHub Actions
participant Checkout as Checkout (v4)
participant QEMU as QEMU Setup (v3)
participant Buildx as Buildx Setup (v3)
participant Login as Login (v3)
participant BuildPush as Build-Push (v5)
Note over GHA: Workflow triggered
GHA->>Checkout: Checkout repository code
GHA->>QEMU: Initialize QEMU for emulation
GHA->>Buildx: Set up Buildx for multi-platform
GHA->>Login: Authenticate with Docker registry
GHA->>BuildPush: Build and push image with multi-platform and caching options
Note over BuildPush: Push activated if ref starts with "refs/tags"
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (5)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
LGTM
Description
Closes: #XXXX
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
in the type prefix if API or client breaking changeReviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
Summary by CodeRabbit