Skip to content

Commit bd2d118

Browse files
authored
add --yes to example workflow (#110)
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. Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
1 parent c3667d9 commit bd2d118

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}
136136
137137
- name: Sign the images with GitHub OIDC Token **not production ready**
138-
run: cosign sign ${TAGS}
138+
run: cosign sign --yes ${TAGS}
139139
env:
140140
TAGS: ${{ steps.docker_meta.outputs.tags }}
141141
```

0 commit comments

Comments
 (0)