diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93ad88b..c57d660 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,16 +82,16 @@ jobs: org.opencontainers.image.vendor=Silitics GmbH build_bakery_images: - name: "Build Bakery Image (${{ matrix.platform }})" + name: "Build Bakery Image (${{ matrix.arch }})" runs-on: ubuntu-latest needs: - bakery_metadata - build_binaries strategy: matrix: - platform: - - linux/amd64 - - linux/arm64 + arch: + - amd64 + - arm64 steps: - name: Checkout uses: actions/checkout@v4 @@ -118,7 +118,7 @@ jobs: done find . - name: Set up QEMU - if: ${{ matrix.platform != 'linux/amd64' }} + if: ${{ matrix.arch != 'amd64' }} uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -134,7 +134,7 @@ jobs: with: context: . file: bakery/Dockerfile - platforms: ${{ matrix.platform }} + platforms: linux/${{ matrix.arch }} labels: ${{ needs.bakery_metadata.outputs.labels }} push: true tags: ${{ env.IMAGE_NAME }} @@ -153,7 +153,7 @@ jobs: - name: Upload Digest uses: actions/upload-artifact@v4 with: - name: bakery-digest-${{ matrix.platform }} + name: bakery-digest-${{ matrix.arch }} path: /tmp/digests/* if-no-files-found: error retention-days: 2