From 3479c00e05ca59ec9d117b8be6f4c5285a393126 Mon Sep 17 00:00:00 2001 From: Barry d'Hoine Date: Sun, 17 Nov 2024 01:33:00 +0100 Subject: [PATCH] Use multiarch build --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8055ee4..52b3964 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,9 @@ env: jobs: build-and-push-image: runs-on: ubuntu-latest - # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. + strategy: + matrix: + os: [ ubuntu-latest, macos-latest ] permissions: contents: read packages: write @@ -38,6 +40,7 @@ jobs: context: . push: true tags: ${{ steps.meta.outputs.tags }} + platforms: linux/amd64,linux/arm64 labels: ${{ steps.meta.outputs.labels }} - name: Generate artifact attestation uses: actions/attest-build-provenance@v1