Skip to content

Commit 740226f

Browse files
committed
docker-publish.yml: Add --yes to "cosign sign" command
Fixes error where interactive prompt does not work in GitHub Actions CI. See sigstore/cosign-installer#110
1 parent 1f31b11 commit 740226f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ jobs:
105105
COSIGN_EXPERIMENTAL: "true"
106106
# This step uses the identity token to provision an ephemeral certificate
107107
# against the sigstore community Fulcio instance.
108-
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
108+
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign --yes {}@${{ steps.build-and-push.outputs.digest }}

0 commit comments

Comments
 (0)