Skip to content

Commit fe33fa3

Browse files
rjaegersCopilot
andauthored
Update .github/workflows/build-push.yml
Co-authored-by: Copilot <[email protected]> Signed-off-by: Ron <[email protected]>
1 parent e533c59 commit fe33fa3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-push.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)