Fixes in sign code

This commit is contained in:
DSR! 2025-05-20 14:47:40 -03:00
parent a7ecf87d4c
commit 451d598ee7

View File

@ -79,7 +79,8 @@ jobs:
for exe in artifacts/*.exe; do
./cosign sign-blob --yes \
--identity-token "${{ steps.oidc.outputs.result }}" \
--signature "${exe}.sig" \
--bundle "${exe}.bundle" \
--output-signature "${exe}.sig" \
"$exe"
done
@ -87,9 +88,7 @@ jobs:
run: |
for exe in artifacts/*.exe; do
./cosign verify-blob \
--certificate-identity-regexp "https://github\\.com/${{ github.repository }}/.*" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
--signature "${exe}.sig" \
--bundle "${exe}.bundle" \
"$exe"
done