Skip to content

Commit 03adfe0

Browse files
authored
feat: add arm64 support (#544)
1 parent e4899cb commit 03adfe0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/actions/docker-publish/action.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ inputs:
2727
build-args:
2828
description: List of build-time variables
2929
required: false
30+
platforms:
31+
description: Target platforms for the build (e.g. linux/amd64,linux/arm64)
32+
default: linux/amd64,linux/arm64
33+
required: false
3034

3135
outputs:
3236
image:
@@ -64,6 +68,9 @@ runs:
6468
type=sha,prefix=
6569
type=semver,pattern={{raw}}
6670
71+
- name: Set up QEMU
72+
uses: docker/setup-qemu-action@v3
73+
6774
- name: Set up Docker Buildx
6875
uses: docker/setup-buildx-action@v3
6976

@@ -78,6 +85,7 @@ runs:
7885
labels: ${{ steps.meta.outputs.labels }}
7986
annotations: ${{ steps.meta.outputs.annotations }}
8087
build-args: ${{ inputs.build-args }}
88+
platforms: ${{ inputs.platforms }}
8189
cache-from: type=gha
8290
cache-to: type=gha,mode=max
8391

0 commit comments

Comments
 (0)