gosec/.goreleaser.yml

39 lines
616 B
YAML
Raw Permalink Normal View History

2018-10-05 10:56:13 +01:00
---
version: 2
2018-10-05 10:56:13 +01:00
project_name: gosec
release:
extra_files:
- glob: ./bom.json
2018-10-05 10:56:13 +01:00
github:
owner: securego
name: gosec
builds:
- main: ./cmd/gosec/
binary: gosec
goos:
- darwin
- linux
- windows
goarch:
- amd64
2021-05-18 21:48:59 +01:00
- arm64
- s390x
2023-11-16 04:40:03 +00:00
- ppc64le
ldflags: -X main.Version={{.Version}} -X main.GitTag={{.Tag}} -X main.BuildDate={{.Date}}
env:
- CGO_ENABLED=0
signs:
- cmd: cosign
stdin: '{{ .Env.COSIGN_PASSWORD}}'
args:
- "sign-blob"
- "--key=/tmp/cosign.key"
- "--output=${signature}"
- "${artifact}"
- "--yes"
artifacts: all