mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-21 21:30: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
|
||||
goarm:
|
||||
- 6
|
||||
- 7
|
||||
goamd64:
|
||||
- v1
|
||||
main: ./cmd/apg
|
||||
|
@ -74,10 +75,10 @@ nfpms:
|
|||
{{- .ConventionalExtension -}}
|
||||
|
||||
dmg:
|
||||
- replace: true
|
||||
- replace: false
|
||||
|
||||
universal_binaries:
|
||||
- replace: true
|
||||
- replace: false
|
||||
|
||||
report_sizes: true
|
||||
|
||||
|
@ -97,7 +98,26 @@ gomod:
|
|||
mod: mod
|
||||
|
||||
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:v{{ .Major }}"
|
||||
- "wneessen/apg-go:v{{ .Major }}.{{ .Minor }}"
|
||||
|
@ -113,4 +133,4 @@ dockers:
|
|||
docker_signs:
|
||||
- artifacts: all
|
||||
stdin: '{{ .Env.COSIGN_PWD }}'
|
||||
output: true
|
||||
output: true
|
||||
|
|
Loading…
Reference in a new issue