File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,8 @@ jobs:
135135 env :
136136 GH_TOKEN : ${{ github.token }}
137137 run : |
138- FORMATTED_SHA=${${{ steps.build-and-push.outputs.digest }}//:/_}
138+ RAW_SHA=${{ steps.build-and-push.outputs.digest }}
139+ FORMATTED_SHA=${RAW_SHA//:/_}
139140 gh attestation verify --repo ${{ github.repository }} oci://${{ env.REGISTRY }}/${{ github.repository }}-${{ matrix.flavor }}@${{ steps.build-and-push.outputs.digest }} --format json --jq '.[] | .attestation.bundle.dsseEnvelope | select(.payloadType == "application/vnd.in-toto+json").payload' | base64 -d | jq . > "${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ matrix.flavor }}_${FORMATTED_SHA}.intoto.jsonl"
140141 gh release upload ${{ github.ref_name }} ./*.intoto.jsonl
141142 - name : Update package details in release
You can’t perform that action at this time.
0 commit comments