Skip to content

Commit 2e7ce2d

Browse files
authored
Update docker-image-release.yml to support ARM builds for newer Macbooks (#1455)
## Summary Add arm64 builds to the non-root image build(currently the root image cannot be built because of #1444) ## How was it tested? I have tested this locally and confirmed the non-root image is built successfully with this change Signed-off-by: Evan <[email protected]>
1 parent 7f53478 commit 2e7ce2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/docker-image-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
steps:
99
- name: Check out the repo
1010
uses: actions/checkout@v3
11+
- name: Set up QEMU
12+
uses: docker/setup-qemu-action@v2
1113
- name: Set up Docker Buildx
1214
uses: docker/setup-buildx-action@v2
1315
- name: Login to Docker Hub
@@ -21,6 +23,7 @@ jobs:
2123
context: ./internal/impl/generate/tmpl/
2224
file: ./internal/impl/generate/tmpl/DevboxImageDockerfile
2325
push: true
26+
platforms: linux/amd64,linux/arm64
2427
tags: jetpackio/devbox:latest
2528
- name: Build and push root user
2629
uses: docker/build-push-action@v4

0 commit comments

Comments
 (0)