chore: Update goreleaser config for docker
goreleaser deprecated their docker settings and uses image_templates now.
This commit is contained in:
parent
8b64a58900
commit
22afc6cc4e
1 changed files with 10 additions and 2 deletions
|
@ -10,7 +10,15 @@ builds:
|
||||||
- amd64
|
- amd64
|
||||||
|
|
||||||
dockers:
|
dockers:
|
||||||
- image: hipages/php-fpm_exporter
|
- 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}}"
|
||||||
|
|
||||||
archive:
|
archive:
|
||||||
format: binary
|
format: binary
|
||||||
|
|
Loading…
Reference in a new issue