Add builds for multi-arch docker containers
This commit is contained in:
parent
61022a208a
commit
6467539ea7
|
@ -12,6 +12,21 @@ builds:
|
|||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
- arm
|
||||
goarm:
|
||||
- "7"
|
||||
- "6"
|
||||
ldflags:
|
||||
- -X {{ .Env.BASE_PKG }}/version.Version={{.Version}}
|
||||
- -X {{ .Env.BASE_PKG }}/version.Build={{.ShortCommit}}
|
||||
- -X {{ .Env.BASE_PKG }}/version.BuildDate={{.Date}}
|
||||
- -X {{ .Env.BASE_PKG }}/version.BuiltBy=goreleaser
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- windows
|
||||
- darwin
|
||||
ldflags:
|
||||
|
|
Loading…
Reference in New Issue