Skip to content

Commit 7d2e9b2

Browse files
authored
Merge pull request #127 from UoMResearchIT/enable-arm
Add ARM builds to deployments
2 parents 018e6df + b66fedc commit 7d2e9b2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/spuc-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

.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)