From fd9ca292a7000cfcde1de96798fe7d1c0c3fde8b Mon Sep 17 00:00:00 2001 From: Florian Bezannier Date: Sat, 13 Sep 2025 16:00:51 +0200 Subject: [PATCH] ci: use matrix --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c8479e..ff5115a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,13 @@ jobs: needs: create_release name: Push Docker image to Docker Hub runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + platform: + - linux/amd64 + - linux/arm64 + - linux/arm/v7 steps: - name: Prepare id: prep @@ -52,7 +59,7 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@master with: - platforms: all + platforms: ${{ matrix.platform }} - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@master @@ -75,7 +82,7 @@ jobs: context: . push: true tags: ${{ steps.prep.outputs.tags }} - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: ${{ matrix.platform }} - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }} \ No newline at end of file