Skip to content

Commit

Permalink
fix cosign by adding --yes (ko-build#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored Mar 7, 2023
1 parent 9302da7 commit 7ce9478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
echo "${{ github.token }}" | ./ko login ghcr.io --username "${{ github.actor }}" --password-stdin
img=$(./ko build --bare --platform=all -t latest -t ${{ github.sha }} ./)
echo "built ${img}"
cosign sign ${img} \
cosign sign ${img} --yes \
-a sha=${{ github.sha }} \
-a run_id=${{ github.run_id }} \
-a run_attempt=${{ github.run_attempt }}

0 comments on commit 7ce9478

Please sign in to comment.