From ccc6c0af07ebae5f2f925d487b1f72f4a2c0e0da Mon Sep 17 00:00:00 2001 From: Frank Hamand Date: Wed, 28 Aug 2024 16:18:27 +0100 Subject: [PATCH] fix rust image build clashing all images were publishing to the same output. Split out the outputs to just what we need --- .github/workflows/rust-docker-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust-docker-build.yml b/.github/workflows/rust-docker-build.yml index 2343df89289ee5..fffc406e65c796 100644 --- a/.github/workflows/rust-docker-build.yml +++ b/.github/workflows/rust-docker-build.yml @@ -29,7 +29,7 @@ jobs: packages: write # allow push to ghcr.io outputs: - digest: ${{ steps.docker_build.outputs.digest }} + capture_digest: ${{ steps.docker_build_capture.outputs.digest }} defaults: run: @@ -79,7 +79,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Build and push image - id: docker_build + id: docker_build_${{ matrix.image }} uses: depot/build-push-action@v1 with: context: ./rust/ @@ -118,7 +118,7 @@ jobs: { "values": { "image": { - "sha": "${{ needs.build.outputs.digest }}" + "sha": "${{ needs.build.outputs.capture_digest }}" } }, "release": "capture-replay",