Skip to content

Commit 0bc855a

Browse files
committed
Add building for ARM64.
1 parent 9e3df4e commit 0bc855a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/docker-image.yml

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

30+
- name: Set up QEMU
31+
uses: docker/setup-qemu-action@v3
32+
33+
- name: Set up Docker Buildx
34+
uses: docker/setup-buildx-action@v3
35+
3036
- name: Extract metadata (tags, labels) for Docker
3137
id: meta
3238
uses: docker/metadata-action@v5.5.1
@@ -52,6 +58,7 @@ jobs:
5258
uses: docker/build-push-action@v5
5359
with:
5460
context: .
61+
platforms: linux/amd64,linux/arm64
5562
push: ${{ github.event_name != 'pull_request' }}
5663
tags: ${{ steps.meta.outputs.tags }}
5764
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)