File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -153,13 +153,14 @@ jobs:
153153 echo "image=$DEBUG_IMAGE" >> "$GITHUB_OUTPUT"
154154 echo "checksum=$(docker image inspect $DEBUG_IMAGE | jq .[0].RepoDigests[0] | sed 's/"//g' | awk -F '@sha256:' '{print $2}')" >> "$GITHUB_OUTPUT"
155155 echo "mrenclave=$(docker run --rm -e SCONE_HASH=1 $DEBUG_IMAGE)" >> "$GITHUB_OUTPUT"
156+ echo "id=$(docker image inspect $DEBUG_IMAGE | jq .[0].Id | sed 's/"//g')" >> "$GITHUB_OUTPUT"
156157
157158 - name : Attest Debug Image
158159 if : ${{ inputs.sconify-debug }}
159160 uses : actions/attest-build-provenance@v2
160161 with :
161162 subject-name : ${{ env.IMAGE_REPO }}
162- subject-digest : sha256:${{ steps.push-debug.outputs.checksum }}
163+ subject-digest : sha256:${{ steps.push-debug.outputs.id }}
163164 push-to-registry : true
164165
165166 - name : Sconify Image Prod
@@ -201,5 +202,5 @@ jobs:
201202 uses : actions/attest-build-provenance@v2
202203 with :
203204 subject-name : ${{ env.IMAGE_REPO }}
204- subject-digest : sha256: ${{ steps.push-prod.outputs.checksum }}
205+ subject-digest : ${{ steps.push-prod.outputs.checksum }}
205206 push-to-registry : true
You can’t perform that action at this time.
0 commit comments