Skip to content

Commit 863b4a6

Browse files
Merge pull request #1 from synackd/multiarch-containers
Add multiarch container builds
2 parents c9c4e67 + c9ae36e commit 863b4a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build_containers.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
type=sha
3232
- name: setup Docker Buildx
3333
uses: docker/setup-buildx-action@v3
34+
- name: Set up QEMU
35+
uses: docker/setup-qemu-action@v3
3436
- name: Login to github container repo
3537
uses: docker/login-action@v3
3638
with:
@@ -40,6 +42,7 @@ jobs:
4042
- name: Build and push
4143
uses: docker/build-push-action@v5
4244
with:
45+
platforms: linux/amd64,linux/arm64
4346
context: .
4447
push: ${{ github.event_name != 'pull_request' }}
4548
tags: ${{ steps.meta.outputs.tags }}
@@ -76,6 +79,7 @@ jobs:
7679
- name: Build and push
7780
uses: docker/build-push-action@v5
7881
with:
82+
platforms: linux/amd64,linux/arm64
7983
context: .
8084
file: Dockerfile.acme
8185
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)