php-fpm-exporter/.goreleaser.yml
Enrico Stahn d110606e22
chore: enable image scan through anchore (#74)
* chore: enable image scan through anchore
* chore: build entire image before doing image scan
* chore: fix goreleaser config
* chore: enable anchore to fail
* chore: remove pull_request event from ci
2020-03-10 23:55:13 +11:00

24 lines
593 B
YAML

builds:
- binary: php-fpm_exporter
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
dockers:
- image_templates:
- "hipages/php-fpm_exporter:latest"
- "hipages/php-fpm_exporter:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
- "hipages/php-fpm_exporter:{{ .Major }}.{{ .Minor }}"
- "hipages/php-fpm_exporter:{{ .Major }}"
build_flag_templates:
- "--build-arg=VERSION={{.Version}}"
- "--build-arg=BUILD_DATE={{.Date}}"
- "--build-arg=VCS_REF={{.FullCommit}}"
archives:
- format: binary