Add builds for multi-arch docker containers

This commit is contained in:
Evan Fiordeliso 2023-04-15 20:12:59 -04:00
parent 61022a208a
commit 6467539ea7
1 changed files with 15 additions and 0 deletions

View File

@ -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: