From c6177366a31c05b755ad9adbedd0c6fb54b509ba Mon Sep 17 00:00:00 2001 From: Tomasz Janiszewski Date: Thu, 16 Mar 2023 17:58:15 +0100 Subject: [PATCH] cosign skip prompt for sing blob (#521) --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 48d8cc357..f585d1770 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -329,10 +329,10 @@ jobs: if [[ "${os}" == "windows" ]]; then bin_name="kube-linter.exe" fi - cosign sign-blob --key cosign.key --output-file "${bin_name}.sig" "${os}/${bin_name}" + cosign sign-blob --yes --key cosign.key --output-file "${bin_name}.sig" "${os}/${bin_name}" done for f in *.{gz,zip}; do \ - cosign sign-blob --key cosign.key --output-file "${f}.sig" "${f}"; \ + cosign sign-blob --yes --key cosign.key --output-file "${f}.sig" "${f}"; \ done - uses: release-drafter/release-drafter@v5