build matrix

This commit is contained in:
cupcakearmy 2022-11-02 13:36:56 +01:00
parent 3d4fef7c23
commit b84df2866b
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F

View File

@ -9,6 +9,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: ["linux/amd64", "linux/arm64"]
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
@ -20,7 +23,7 @@ jobs:
id: docker_build
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.arch }}
push: false
test:
runs-on: ubuntu-latest