Skip to content

Commit f16afc9

Browse files
Copilotroryeckel
andcommitted
Apply ARM64 support to PR build workflow from PR #34
Co-authored-by: roryeckel <16675082+roryeckel@users.noreply.github.com>
1 parent 1a28e3a commit f16afc9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,16 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20+
- name: Set up QEMU
21+
uses: docker/setup-qemu-action@v3
22+
with:
23+
platforms: arm64
24+
2025
- name: Set up Docker Buildx
2126
uses: docker/setup-buildx-action@v3
27+
with:
28+
install: true
29+
driver-opts: network=host
2230

2331
- name: Log in to GitHub Container Registry
2432
uses: docker/login-action@v3
@@ -36,9 +44,10 @@ jobs:
3644
type=raw,value=pr-${{ github.event.number }}
3745
3846
- name: Build and push Docker image
39-
uses: docker/build-push-action@v5
47+
uses: docker/build-push-action@v6
4048
with:
4149
context: .
50+
platforms: linux/amd64,linux/arm64
4251
push: true
4352
tags: ${{ steps.meta.outputs.tags }}
4453
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)