Skip to content

Commit c617736

Browse files
authored
cosign skip prompt for sing blob (#521)
1 parent 4ec8be5 commit c617736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,10 @@ jobs:
329329
if [[ "${os}" == "windows" ]]; then
330330
bin_name="kube-linter.exe"
331331
fi
332-
cosign sign-blob --key cosign.key --output-file "${bin_name}.sig" "${os}/${bin_name}"
332+
cosign sign-blob --yes --key cosign.key --output-file "${bin_name}.sig" "${os}/${bin_name}"
333333
done
334334
for f in *.{gz,zip}; do \
335-
cosign sign-blob --key cosign.key --output-file "${f}.sig" "${f}"; \
335+
cosign sign-blob --yes --key cosign.key --output-file "${f}.sig" "${f}"; \
336336
done
337337
338338
- uses: release-drafter/release-drafter@v5

0 commit comments

Comments
 (0)