Skip to content

Commit

Permalink
FEAT: Use keys to sign instead
Browse files Browse the repository at this point in the history
  • Loading branch information
magicaldave committed Jan 19, 2025
1 parent 543374e commit 5a64c57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ jobs:

- uses: sigstore/cosign-installer@main
- name: sign
run: cosign sign-blob -y ./target/release/${{ matrix.binary }} --bundle S3LF-${{ matrix.os }}.bundle
run: |
echo ${{ COSIGN_PUBLIC_KEY }}
echo ${{ COSIGN_PRIVATE_KEY }} > private.key
cosign sign-blob -y --key private.key ./target/release/${{ matrix.binary }} --bundle S3LF-${{ matrix.os }}.bundle
rm -rf private.key
- name: compress
run: 7z a -tzip ${{matrix.archive}} S3LF-${{ matrix.os }}.bundle ./target/release/${{matrix.binary}}
Expand Down

0 comments on commit 5a64c57

Please sign in to comment.