Skip to content

Commit

Permalink
Update sample-signing.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
zazathomas authored Jul 15, 2024
1 parent 4ba7289 commit c34efc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sample-signing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
sudo mv cosign-linux-amd64 /usr/local/bin/cosign
sudo chmod +x /usr/local/bin/cosign
- name: Sign image using Cosign
run: cosign sign --key ${{secrets.COSIGN_KEY}} $IMAGE_DIGEST
run: |
echo ${{secrets.COSIGN_KEY}} > cosign.key
cosign sign --key cosign.key $IMAGE_DIGEST
- name: Verify image signature
run: |
apt install jq -y
Expand Down

0 comments on commit c34efc7

Please sign in to comment.