Skip to content

Commit

Permalink
fix: specify confirmation in cosign invocation (#1277)
Browse files Browse the repository at this point in the history
cosign needs the `--yes` parameter when running as a script. This
specifies it to fix the signing steps.

Signed-off-by: Juan Antonio Osorio <juan.osoriorobles@eu.equinix.com>
  • Loading branch information
JAORMX authored Jun 8, 2023
1 parent 30bdb98 commit 870be2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ signs:
certificate: "${artifact}.pem"
args:
- "sign-blob"
- "--yes"
- "--oidc-issuer=https://token.actions.githubusercontent.com"
- "--output-certificate=${certificate}"
- "--output-signature=${signature}"
Expand All @@ -259,6 +260,7 @@ docker_signs:
- cmd: cosign
args:
- "sign"
- "--yes"
- "--oidc-issuer=https://token.actions.githubusercontent.com"
- "${artifact}"
artifacts: all
Expand Down

0 comments on commit 870be2c

Please sign in to comment.