Skip to content

Commit c8264e1

Browse files
Add QEMU setup step in GitHub Actions workflow
Added QEMU setup for multi-platform builds.
1 parent 018e6df commit c8264e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/spucsvi-build-test-push.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- name: Check out the repo
3232
uses: actions/checkout@v4
3333

34+
- name: Set up QEMU
35+
uses: docker/setup-qemu-action@v3
36+
3437
- name: Set up Docker Buildx
3538
uses: docker/setup-buildx-action@v3
3639

@@ -56,6 +59,7 @@ jobs:
5659
context: ${{ env.CONTEXT }}
5760
file: ${{ env.DOCKERFILE }}
5861
tags: ${{ steps.set-tag.outputs.tags }}
62+
platforms: linux/amd64,linux/arm64
5963
cache-from: type=gha,scope=${{ env.CONTAINER_NAME }}
6064
cache-to: type=gha,scope=${{ env.CONTAINER_NAME }},mode=max
6165
push: true

0 commit comments

Comments
 (0)