Skip to content

Commit

Permalink
fix: Add --yes to cosign
Browse files Browse the repository at this point in the history
Newer cosign by default has an interactive prompt. Pass the `--yes`
option to acknowledge the prompt ahead of time.

Signed-off-by: Adam Kaplan <[email protected]>
  • Loading branch information
adambkaplan committed Jun 24, 2024
1 parent 981ea16 commit f8458f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fetch-depth: 0 # Fetch all history, needed for release note generation.
# Install tools
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.21.x
cache: true
Expand All @@ -54,7 +54,8 @@ jobs:
grep -o "ghcr.io[^\"]*" "${GITHUB_WORKSPACE}/_output/olm/bundle/manifests/shipwright-operator.clusterserviceversion.yaml" | uniq | xargs -n 1 cosign sign \
-a sha=${{ github.sha }} \
-a run_id=${{ github.run_id }} \
-a run_attempt=${{ github.run_attempt }}
-a run_attempt=${{ github.run_attempt }} \
--yes
- name: Build Release Changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f8458f3

Please sign in to comment.