From 4e78b082c7a5c6287df099ed813397d04329e605 Mon Sep 17 00:00:00 2001 From: Frank Hamand Date: Wed, 28 Aug 2024 16:43:00 +0100 Subject: [PATCH] fix output --- .github/workflows/rust-docker-build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust-docker-build.yml b/.github/workflows/rust-docker-build.yml index cc2553f32a9cdc..b4449ef35409fd 100644 --- a/.github/workflows/rust-docker-build.yml +++ b/.github/workflows/rust-docker-build.yml @@ -30,7 +30,7 @@ jobs: packages: write # allow push to ghcr.io outputs: - capture_digest: ${{ steps.docker_build_capture.outputs.digest }} + capture_digest: ${{ steps.digest.outputs.capture_digest }} defaults: run: @@ -80,7 +80,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Build and push image - id: docker_build_${{ matrix.image }} + id: docker_build uses: depot/build-push-action@v1 with: context: ./rust/ @@ -94,7 +94,10 @@ jobs: build-args: BIN=${{ matrix.image }} - name: Container image digest - run: echo ${{ steps.docker_build.outputs.digest }} + id: digest + run: | + echo ${{ steps.docker_build.outputs.digest }} + echo "${{matrix.image}}_digest=${{ steps.docker_build.outputs.digest }}" >> $GITHUB_OUTPUT deploy: name: Deploy capture-replay