* chore(deps): bump goreleaser/goreleaser-action from 5 to 6 Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5 to 6. - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](https://github.com/goreleaser/goreleaser-action/compare/v5...v6) --- updated-dependencies: - dependency-name: goreleaser/goreleaser-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: add version header --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: MaineK00n <mainek00n.1229@gmail.com>
161 lines
3.0 KiB
YAML
161 lines
3.0 KiB
YAML
version: 2
|
|
project_name: vuls
|
|
release:
|
|
github:
|
|
owner: future-architect
|
|
name: vuls
|
|
builds:
|
|
- id: vuls
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
main: ./cmd/vuls/main.go
|
|
flags:
|
|
- -a
|
|
ldflags:
|
|
- -s -w -X github.com/future-architect/vuls/config.Version={{.Version}} -X github.com/future-architect/vuls/config.Revision={{.Commit}}-{{ .CommitDate }}
|
|
binary: vuls
|
|
|
|
- id: vuls-scanner
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
main: ./cmd/scanner/main.go
|
|
flags:
|
|
- -a
|
|
tags:
|
|
- scanner
|
|
ldflags:
|
|
- -s -w -X github.com/future-architect/vuls/config.Version={{.Version}} -X github.com/future-architect/vuls/config.Revision={{.Commit}}-{{ .CommitDate }}
|
|
binary: vuls-scanner
|
|
|
|
- id: trivy-to-vuls
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
tags:
|
|
- scanner
|
|
main: ./contrib/trivy/cmd/main.go
|
|
ldflags:
|
|
- -s -w -X github.com/future-architect/vuls/config.Version={{.Version}} -X github.com/future-architect/vuls/config.Revision={{.Commit}}-{{ .CommitDate }}
|
|
binary: trivy-to-vuls
|
|
|
|
- id: future-vuls
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
flags:
|
|
- -a
|
|
tags:
|
|
- scanner
|
|
ldflags:
|
|
- -s -w -X github.com/future-architect/vuls/config.Version={{.Version}} -X github.com/future-architect/vuls/config.Revision={{.Commit}}-{{ .CommitDate }}
|
|
main: ./contrib/future-vuls/cmd/main.go
|
|
binary: future-vuls
|
|
|
|
- id: snmp2cpe
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
flags:
|
|
- -a
|
|
tags:
|
|
- scanner
|
|
ldflags:
|
|
- -s -w -X github.com/future-architect/vuls/config.Version={{.Version}} -X github.com/future-architect/vuls/config.Revision={{.Commit}}-{{ .CommitDate }}
|
|
main: ./contrib/snmp2cpe/cmd/main.go
|
|
binary: snmp2cpe
|
|
|
|
archives:
|
|
|
|
- id: vuls
|
|
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
builds:
|
|
- vuls
|
|
format: tar.gz
|
|
files:
|
|
- LICENSE
|
|
- README*
|
|
- CHANGELOG.md
|
|
|
|
- id: vuls-scanner
|
|
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
builds:
|
|
- vuls-scanner
|
|
format: tar.gz
|
|
files:
|
|
- LICENSE
|
|
- README*
|
|
- CHANGELOG.md
|
|
|
|
- id: trivy-to-vuls
|
|
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
builds:
|
|
- trivy-to-vuls
|
|
format: tar.gz
|
|
files:
|
|
- LICENSE
|
|
- README*
|
|
- CHANGELOG.md
|
|
|
|
- id: future-vuls
|
|
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
builds:
|
|
- future-vuls
|
|
format: tar.gz
|
|
files:
|
|
- LICENSE
|
|
- README*
|
|
- CHANGELOG.md
|
|
|
|
- id: snmp2cpe
|
|
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
builds:
|
|
- snmp2cpe
|
|
format: tar.gz
|
|
files:
|
|
- LICENSE
|
|
- README*
|
|
- CHANGELOG.md
|
|
|
|
snapshot:
|
|
name_template: SNAPSHOT-{{ .Commit }}
|