Skip to content

Commit

Permalink
use keyless signing
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker committed Aug 16, 2024
1 parent 2529e1a commit 7f5e79c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .goreleaser.develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,15 @@ docker_manifests:

# See https://goreleaser.com/customization/docker_sign/
docker_signs:
- artifacts: all
stdin: "{{ .Env.COSIGN_PASSWORD }}"
- cmd: cosign
env:
- COSIGN_EXPERIMENTAL=1
artifacts: all
args:
- 'sign'
- '--oidc-issuer=https://token.actions.githubusercontent.com'
- 'artifact'
# stdin: "{{ .Env.COSIGN_PASSWORD }}"

checksum:
name_template: "checksums.txt"
Expand Down

0 comments on commit 7f5e79c

Please sign in to comment.