From bd923045c215073e7f575a8c559d38782ada8bb0 Mon Sep 17 00:00:00 2001 From: Pascal Holthaus Date: Wed, 19 Jun 2024 08:13:26 +0200 Subject: [PATCH] Change: Matrix for amd64 and arm64 builds --- .github/workflows/push.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index c8f8fc7455..1fd9a02923 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -16,6 +16,11 @@ on: jobs: building: runs-on: self-hosted-generic + strategy: + matrix: + platform: + - linux/amd64 + - linux/arm64 steps: - name: Checkout repository uses: actions/checkout@v4 @@ -60,7 +65,8 @@ jobs: type=ref,event=pr type=raw,value=latest,enable=${{ steps.latest.outputs.is-latest-tag == 'true' }} type=raw,value=stable,enable=${{ steps.latest.outputs.is-latest-tag == 'true' }} - image-platforms: linux/amd64,linux/arm64 + image-platforms: ${{ matrix.platform }} registry: ${{ secrets.GREENBONE_REGISTRY }} registry-username: ${{ secrets.GREENBONE_REGISTRY_USER }} registry-password: ${{ secrets.GREENBONE_REGISTRY_TOKEN }} + scout: true