More precise build arches
This commit is contained in:
parent
8ae91569b3
commit
e71ba0443a
|
|
@ -12,8 +12,28 @@ builds:
|
||||||
- darwin
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
|
main: cmd/OliveTin/main.go
|
||||||
|
|
||||||
|
# For modern ARM
|
||||||
|
- env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
goos:
|
||||||
|
- linux
|
||||||
|
- windows
|
||||||
|
- darwin
|
||||||
|
goarch:
|
||||||
|
- arm64
|
||||||
|
main: cmd/OliveTin/main.go
|
||||||
|
|
||||||
|
# For old RPIs
|
||||||
|
- env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
goos:
|
||||||
|
- linux
|
||||||
|
goarch:
|
||||||
- arm # 32bit
|
- arm # 32bit
|
||||||
main: cmd/OliveTin/main.go
|
main: cmd/OliveTin/main.go
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
|
|
@ -48,6 +68,11 @@ archives:
|
||||||
|
|
||||||
dockers:
|
dockers:
|
||||||
- dockerfile: Dockerfile
|
- dockerfile: Dockerfile
|
||||||
|
goos: linux
|
||||||
|
goarch: amd64
|
||||||
|
skip_push: true
|
||||||
|
build_flag_templates:
|
||||||
|
- "--platform=linux/arm64"
|
||||||
|
|
||||||
nfpms:
|
nfpms:
|
||||||
- maintainer: James Read <contact@jread.com>
|
- maintainer: James Read <contact@jread.com>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue