Skip to content

Commit

Permalink
fix rust image build clashing
Browse files Browse the repository at this point in the history
all images were publishing to the same output. Split out the outputs
to just what we need
  • Loading branch information
frankh committed Aug 28, 2024
1 parent 6f7df71 commit ccc6c0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 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.docker_build_capture.outputs.digest }}

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

0 comments on commit ccc6c0a

Please sign in to comment.