Skip to content

Commit

Permalink
Update .goreleaser.yml (#891)
Browse files Browse the repository at this point in the history
* Update .goreleaser.yml

* Update .goreleaser.yml
  • Loading branch information
elchananarb authored Sep 24, 2024
1 parent 632e891 commit 41edccc
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,14 @@ dockers:
- "checkmarx/ast-cli:{{ .Tag }}"

docker_signs:
- id: ast-cli-signing
cmd: cosign
- cmd: cosign sign --key ${COSIGN_PRIVATE_KEY}
args:
- "sign"
- "--key-env=COSIGN_PRIVATE_KEY"
- "${artifact}"
- "--yes"
artifacts: images
stdin: "{{ secrets.COSIGN_PASSWORD }}"
env:
- COSIGN_PRIVATE_KEY={{ secrets.COSIGN_PRIVATE_KEY }}
- COSIGN_PASSWORD={{ secrets.COSIGN_PASSWORD }}
- COSIGN_PUBLIC_KEY={{ secrets.COSIGN_PUBLIC_KEY }}
output: true
- COSIGN_PRIVATE_KEY=${{ .Env.COSIGN_PRIVATE_KEY }}
- COSIGN_PASSWORD=${{ .Env.COSIGN_PASSWORD }}


archives:
- id: cx
Expand Down

0 comments on commit 41edccc

Please sign in to comment.