Skip to content

Commit cf4c63d

Browse files
authored
Merge pull request #351 from Pseudo-Lab/ci/multi-arch-build
feat(ci): enable multi-architecture builds
2 parents 40d63cc + 8640c08 commit cf4c63d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci-k8s-homepage.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
username: ${{ github.actor }}
4040
password: ${{ secrets.GITHUB_TOKEN }}
4141

42+
- name: Set up QEMU
43+
uses: docker/setup-qemu-action@v3
44+
45+
- name: Set up Docker Buildx
46+
uses: docker/setup-buildx-action@v3
47+
4248
- name: Extract metadata (tags, labels) for Docker
4349
id: meta
4450
uses: docker/metadata-action@v5
@@ -52,6 +58,7 @@ jobs:
5258
uses: docker/build-push-action@v5
5359
with:
5460
context: ${{ matrix.context }}
61+
platforms: linux/amd64,linux/arm64
5562
push: true
5663
tags: ${{ steps.meta.outputs.tags }}
5764
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)