mirror of
https://github.com/jwhited/wgsd.git
synced 2025-01-18 13:59:34 +08:00
42d88f8049
Signed-off-by: Jordan Whited <jordan@jordanwhited.com>
44 lines
962 B
YAML
44 lines
962 B
YAML
before:
|
|
hooks:
|
|
- go mod download
|
|
builds:
|
|
- id: coredns
|
|
main: ./cmd/coredns/main.go
|
|
binary: coredns
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- 386
|
|
- arm
|
|
- arm64
|
|
|
|
- id: wgsd-client
|
|
main: ./cmd/wgsd-client/main.go
|
|
binary: wgsd-client
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- 386
|
|
- arm
|
|
- arm64
|
|
|
|
archives:
|
|
- id: coredns
|
|
format: tar.gz
|
|
name_template: wgsd-coredns_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
|
|
builds:
|
|
- coredns
|
|
|
|
- id: wgsd-client
|
|
format: tar.gz
|
|
name_template: wgsd-client_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
|
|
builds:
|
|
- wgsd-client
|