Skip to content

Commit

Permalink
Allow tokens to be saved for cosign, and always answer yes. (#450)
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Brown <[email protected]>
  • Loading branch information
calebbrown authored Mar 20, 2024
1 parent d7fc358 commit e5e8b33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
packages: write
id-token: write
contents: read

steps:
Expand Down Expand Up @@ -79,4 +80,4 @@ jobs:

- name: Sign the image
run: |
cosign sign ghcr.io/${{ github.repository }}/${{ env.IMAGE_NAME }}@${{ steps.image-build.outputs.digest }}
cosign sign --yes ghcr.io/${{ github.repository }}/${{ env.IMAGE_NAME }}@${{ steps.image-build.outputs.digest }}

0 comments on commit e5e8b33

Please sign in to comment.