Skip to content

Commit

Permalink
add --yes to example workflow
Browse files Browse the repository at this point in the history
Version 2.0 of cosign is asking users to confirm that information is
stored in public transparency logs. This interactive interaction does
not work in automated CI pipelines like GitHub actions and breaks
builds that are now starting to use 2.0. Adding --yes removes the
required user interaction and enables automated builds again.
  • Loading branch information
sebhoss committed Mar 6, 2023
1 parent c3667d9 commit 0bf7df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}
- name: Sign the images with GitHub OIDC Token **not production ready**
run: cosign sign ${TAGS}
run: cosign sign --yes ${TAGS}
env:
TAGS: ${{ steps.docker_meta.outputs.tags }}
```
Expand Down

0 comments on commit 0bf7df2

Please sign in to comment.