Skip to content

Commit

Permalink
Fix Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlarsen committed Oct 17, 2024
1 parent 9782bd6 commit d83f15e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ jobs:

- name: Inspect Docker image
run: |
docker buildx imagetools inspect "${{ matrix.image }}@${{ steps.build.outputs.digest }}"
docker buildx imagetools inspect "${{ matrix.image }}@sha256:${{ steps.build.outputs.digest }}"
- name: Test Docker image
run: docker run --rm "${{ matrix.image }}@${{ steps.build.outputs.digest }}" --version
run: docker run --rm "${{ matrix.image }}@sha256:${{ steps.build.outputs.digest }}" --version

- name: Export digest
run: |
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
run: |
docker buildx imagetools create \
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ matrix.image }}@%s ' *)
$(printf '${{ matrix.image }}@sha256:%s ' *)
- name: Inspect Docker image
run: |
Expand Down

0 comments on commit d83f15e

Please sign in to comment.