Skip to content

Commit 4bb4134

Browse files
committed
CI: cosign --yes, remove COSIGN_EXPERIMENTAL
The CLI behavior has changeg since. It now prompts for a 'yes'. Adapted via a look at https://github.com/sigstore/cosign-installer Regarding COSIGN_EXPERIMENTAL: https://blog.sigstore.dev/cosign-2-0-released/ Signed-off-by: Daniel Maslowski <[email protected]>
1 parent 6154bc5 commit 4bb4134

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ jobs:
9191
# https://github.com/sigstore/cosign
9292
- name: Sign the published Docker image
9393
if: ${{ github.event_name != 'pull_request' }}
94-
env:
95-
COSIGN_EXPERIMENTAL: "true"
9694
# This step uses the identity token to provision an ephemeral certificate
9795
# against the sigstore community Fulcio instance.
98-
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
96+
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign --yes {}@${{ steps.build-and-push.outputs.digest }}

0 commit comments

Comments
 (0)