Skip to content

Commit

Permalink
fix: fix rust image build clashing (#24654)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh authored Aug 28, 2024
1 parent 934813d commit c6bbc98
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 @@ -29,7 +29,7 @@ jobs:
packages: write # allow push to ghcr.io

outputs:
digest: ${{ steps.docker_build.outputs.digest }}
capture_digest: ${{ steps.digest.outputs.capture_digest }}

defaults:
run:
Expand Down Expand Up @@ -93,7 +93,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 All @@ -118,7 +121,7 @@ jobs:
{
"values": {
"image": {
"sha": "${{ needs.build.outputs.digest }}"
"sha": "${{ needs.build.outputs.capture_digest }}"
}
},
"release": "capture-replay",
Expand Down

0 comments on commit c6bbc98

Please sign in to comment.