Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit 03765cc

Browse files
authored
feat: Docker build with buildx for cross compilation (#191)
This PR simply updates the docker workflow to build both `linux/amd64` and `linux/arm64` compatible containers
1 parent 1f403d7 commit 03765cc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/docker-build-push.yaml

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

30+
- name: Set up QEMU
31+
uses: docker/setup-qemu-action@v3
32+
3033
- name: Set up Docker Buildx
3134
uses: docker/setup-buildx-action@v3
3235

@@ -54,6 +57,7 @@ jobs:
5457
with:
5558
context: .
5659
file: ./dockerfiles/Dockerfile.user
60+
platforms: linux/amd64,linux/arm64
5761
push: true
5862
tags: ${{ steps.meta.outputs.tags }}
5963
labels: ${{ steps.meta.outputs.labels }}
@@ -74,6 +78,9 @@ jobs:
7478
- name: Checkout repository
7579
uses: actions/checkout@v4
7680

81+
- name: Set up QEMU
82+
uses: docker/setup-qemu-action@v3
83+
7784
- name: Set up Docker Buildx
7885
uses: docker/setup-buildx-action@v3
7986

@@ -101,6 +108,7 @@ jobs:
101108
with:
102109
context: .
103110
file: ./dockerfiles/Dockerfile
111+
platforms: linux/amd64,linux/arm64
104112
push: true
105113
tags: ${{ steps.meta-root.outputs.tags }}
106114
labels: ${{ steps.meta-root.outputs.labels }}

0 commit comments

Comments
 (0)