2018-10-05 10:56:13 +01:00
|
|
|
---
|
2024-09-26 13:00:28 +01:00
|
|
|
version: 2
|
2018-10-05 10:56:13 +01:00
|
|
|
project_name: gosec
|
|
|
|
|
|
|
|
release:
|
2021-06-21 09:50:44 +01:00
|
|
|
extra_files:
|
|
|
|
- glob: ./bom.json
|
2018-10-05 10:56:13 +01:00
|
|
|
github:
|
|
|
|
owner: securego
|
|
|
|
name: gosec
|
|
|
|
|
2018-07-27 13:41:45 +01:00
|
|
|
builds:
|
2022-02-22 20:33:42 +00:00
|
|
|
- main: ./cmd/gosec/
|
2018-07-27 13:41:45 +01:00
|
|
|
binary: gosec
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2021-05-18 21:48:59 +01:00
|
|
|
- arm64
|
2022-12-12 07:47:25 +00:00
|
|
|
- s390x
|
2023-11-16 04:40:03 +00:00
|
|
|
- ppc64le
|
2018-07-27 13:41:45 +01:00
|
|
|
ldflags: -X main.Version={{.Version}} -X main.GitTag={{.Tag}} -X main.BuildDate={{.Date}}
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
2022-02-22 20:33:42 +00:00
|
|
|
|
|
|
|
signs:
|
|
|
|
- cmd: cosign
|
|
|
|
stdin: '{{ .Env.COSIGN_PASSWORD}}'
|
2023-05-17 14:27:49 +01:00
|
|
|
args:
|
|
|
|
- "sign-blob"
|
|
|
|
- "--key=/tmp/cosign.key"
|
|
|
|
- "--output=${signature}"
|
|
|
|
- "${artifact}"
|
|
|
|
- "--yes"
|
2022-02-22 20:33:42 +00:00
|
|
|
artifacts: all
|
|
|
|
|