From cb43263dc6f8db0941a333d08c3651a4067a1034 Mon Sep 17 00:00:00 2001 From: nhas Date: Mon, 10 Feb 2025 21:22:30 +1300 Subject: [PATCH] Use matrix instead of platforms --- .github/workflows/test_and_deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 9c8a4b75..44949569 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -73,6 +73,10 @@ jobs: with: fetch-depth: 0 fetch-tags: true + matrix: + platform: + - linux/amd64 + - linux/arm64 - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -100,7 +104,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . - platforms: linux/amd64 + platforms: ${{ matrix.platform }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} push: true