Skip to content

Commit

Permalink
ci: workaround Syft overwriting COSIGN_PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirusu committed Feb 2, 2023
1 parent 093607f commit 350ccb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/container_sbom/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ runs:
COSIGN_PUBLIC_KEY: ${{ inputs.cosignPublicKey }}
COSIGN_PRIVATE_KEY: ${{ inputs.cosignPrivateKey }}
COSIGN_PASSWORD: ${{ inputs.cosignPassword }}
SYFT_ATTEST_PASSWORD: ${{ inputs.cosignPassword }} # Required for Syft 0.69.0+ as they overwrite COSIGN_PASSWORD
run: |
set -ex
echo "$COSIGN_PRIVATE_KEY" > cosign.key
Expand Down

0 comments on commit 350ccb2

Please sign in to comment.