mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-22 05:40:51 +01:00
Updated .goreleaser
This commit is contained in:
parent
ac53637f86
commit
dbc247a859
1 changed files with 24 additions and 4 deletions
|
@ -34,6 +34,7 @@ builds:
|
||||||
- mips64le
|
- mips64le
|
||||||
goarm:
|
goarm:
|
||||||
- 6
|
- 6
|
||||||
|
- 7
|
||||||
goamd64:
|
goamd64:
|
||||||
- v1
|
- v1
|
||||||
main: ./cmd/apg
|
main: ./cmd/apg
|
||||||
|
@ -74,10 +75,10 @@ nfpms:
|
||||||
{{- .ConventionalExtension -}}
|
{{- .ConventionalExtension -}}
|
||||||
|
|
||||||
dmg:
|
dmg:
|
||||||
- replace: true
|
- replace: false
|
||||||
|
|
||||||
universal_binaries:
|
universal_binaries:
|
||||||
- replace: true
|
- replace: false
|
||||||
|
|
||||||
report_sizes: true
|
report_sizes: true
|
||||||
|
|
||||||
|
@ -97,7 +98,26 @@ gomod:
|
||||||
mod: mod
|
mod: mod
|
||||||
|
|
||||||
dockers:
|
dockers:
|
||||||
- image_templates:
|
- id: linux_amd64
|
||||||
|
goos: linux
|
||||||
|
goarch: amd64
|
||||||
|
image_templates:
|
||||||
|
- "wneessen/apg-go:{{ .Tag }}"
|
||||||
|
- "wneessen/apg-go:v{{ .Major }}"
|
||||||
|
- "wneessen/apg-go:v{{ .Major }}.{{ .Minor }}"
|
||||||
|
- "wneessen/apg-go:latest"
|
||||||
|
build_flag_templates:
|
||||||
|
- "--pull"
|
||||||
|
- "--network=host"
|
||||||
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||||
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
||||||
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
||||||
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
||||||
|
- id: darwin_arm64
|
||||||
|
goos: darwin
|
||||||
|
goarch: arm64
|
||||||
|
goarm: 7
|
||||||
|
image_templates:
|
||||||
- "wneessen/apg-go:{{ .Tag }}"
|
- "wneessen/apg-go:{{ .Tag }}"
|
||||||
- "wneessen/apg-go:v{{ .Major }}"
|
- "wneessen/apg-go:v{{ .Major }}"
|
||||||
- "wneessen/apg-go:v{{ .Major }}.{{ .Minor }}"
|
- "wneessen/apg-go:v{{ .Major }}.{{ .Minor }}"
|
||||||
|
@ -113,4 +133,4 @@ dockers:
|
||||||
docker_signs:
|
docker_signs:
|
||||||
- artifacts: all
|
- artifacts: all
|
||||||
stdin: '{{ .Env.COSIGN_PWD }}'
|
stdin: '{{ .Env.COSIGN_PWD }}'
|
||||||
output: true
|
output: true
|
||||||
|
|
Loading…
Reference in a new issue