Skip to content

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Aug 28, 2024
1 parent 00fa1e7 commit 4e78b08
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/rust-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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/
Expand All @@ -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
Expand Down

0 comments on commit 4e78b08

Please sign in to comment.