diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 113687e3..4c036e40 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -25,9 +25,11 @@ jobs: - dockerfile: Dockerfile platform: linux/amd64 scope: build-amd + artifactsuffix: amd - dockerfile: Dockerfile.aarch64 platform: linux/arm64 scope: build-arm + artifactsuffix: arm steps: - name: Check out code uses: actions/checkout@v4 @@ -68,7 +70,7 @@ jobs: - name: Upload digest uses: actions/upload-artifact@v4 with: - name: digests + name: digests-${{ matrix.artifactsuffix }} path: /tmp/digests/* if-no-files-found: error retention-days: 1 @@ -80,7 +82,7 @@ jobs: - name: Download digests uses: actions/download-artifact@v4 with: - name: digests + pattern: digests-* path: /tmp/digests - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3