Skip to content

Commit

Permalink
feat: add before module
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
  • Loading branch information
cubxxw committed Jul 18, 2023
1 parent 6de318c commit c142385
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,16 @@ changelog:
# sboms:
# - artifacts: archive

signs:
- cmd: cosign
stdin: '{{ .Env.COSIGN_PWD }}'
args:
- "sign-blob"
- "--key=cosign.key"
- "--output-signature=${signature}"
- "${artifact}"
- "--yes" # needed on cosign 2.0.0+
artifacts: all
# signs:
# - cmd: cosign
# stdin: '{{ .Env.COSIGN_PWD }}'
# args:
# - "sign-blob"
# - "--key=cosign.key"
# - "--output-signature=${signature}"
# - "${artifact}"
# - "--yes" # needed on cosign 2.0.0+
# artifacts: all


# kos:
Expand Down Expand Up @@ -282,3 +282,12 @@ docker_manifests:
image_templates:
- ghcr.io/{{ .Env.USERNAME }}/syncer:{{ .Tag }}-amd64
- ghcr.io/{{ .Env.USERNAME }}/syncer:{{ .Tag }}-arm64

docker_signs:
- cmd: cosign
artifacts: manifests
output: true
args:
- "sign"
- "${artifact}@${digest}"
- --yes

0 comments on commit c142385

Please sign in to comment.