Skip to content

Commit 72563c3

Browse files
jverkoeyclaude
andauthored
Add multi-architecture support to devcontainer build (#14)
## Summary Build Docker image for both `linux/amd64` and `linux/arm64` to support ARM64 Macs (M1/M4) and x86_64 systems. The workflow was only building for the runner's architecture (x86_64). This change enables multi-platform builds so the devcontainer image works on both ARM64 Macs and x86_64 machines. ## Test plan - [ ] Workflow runs and builds successfully for both architectures - [ ] Image can be pulled on ARM64 Mac 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent d7b47ef commit 72563c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-and-push.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
2929

30+
- name: Set up Docker Buildx
31+
uses: docker/setup-buildx-action@v3
32+
3033
- name: Log in to the Container registry
3134
uses: docker/login-action@v3
3235
with:
@@ -55,3 +58,4 @@ jobs:
5558
push: ${{ github.event_name != 'pull_request' }}
5659
tags: ${{ steps.meta.outputs.tags }}
5760
labels: ${{ steps.meta.outputs.labels }}
61+
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)