Skip to content

Commit de939df

Browse files
authored
Merge pull request #1 from mdehoog/main-mikery
Add multi-arch build to PR action
2 parents c1b9a09 + 428ce0f commit de939df

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pr.yml

+6
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@ on:
66
jobs:
77
build:
88
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
arch: [ linux/amd64, linux/arm64 ]
912
steps:
1013
- name: Checkout
1114
uses: actions/checkout@v3
1215
with:
1316
ref: ${{ github.event.pull_request.head.sha }}
17+
- name: Set up Docker Buildx
18+
uses: docker/setup-buildx-action@v3
1419
- name: Build the Docker image
1520
uses: docker/build-push-action@v4
1621
with:
1722
context: .
1823
push: false
24+
platforms: ${{ matrix.arch }}

0 commit comments

Comments
 (0)