Skip to content

Commit 0e188d5

Browse files
heliocastrogoneall
authored andcommitted
feat(docker): Enable multiarch image
Signed-off-by: Helio Chissini de Castro <dev@heliocastro.info>
1 parent c7e8af7 commit 0e188d5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/docker_deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- name: Checkout main repository
3232
uses: actions/checkout@v5
3333

34+
- name: Setup QEMU
35+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130
36+
3437
- name: Set up Docker Buildx
3538
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
3639

@@ -45,6 +48,8 @@ jobs:
4548
id: meta_base
4649
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v51.0.0
4750
with:
51+
images: |
52+
${{ env.REGISTRY }}/${{ github.repository }}
4853
tags: |
4954
type=ref,event=tag
5055
type=semver,pattern={{version}}
@@ -57,6 +62,7 @@ jobs:
5762
context: .
5863
push: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
5964
load: false
65+
platforms: linux/amd64,linux/arm64
6066
tags: |
6167
${{ steps.meta_base.outputs.tags }}
6268
labels: ${{ steps.meta_base.outputs.labels }}

0 commit comments

Comments
 (0)