nezhahq-agent/.goreleaser.yml
UUBulb ea6f119e72
feat: read config from env (#104)
* feat: read config from env

* ci: skip some tests
2024-11-30 11:40:48 +08:00

34 lines
584 B
YAML

version: 2
before:
hooks:
- go mod tidy -v
builds:
- id: universal
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/nezhahq/agent/pkg/monitor.Version={{.Version}} -X main.arch={{.Arch}}
goos:
- linux
- windows
- freebsd
- darwin
goarch:
- arm
- arm64
- 386
- amd64
- mips
- mipsle
- s390x
- riscv64
gomips:
- softfloat
ignore:
- goos: windows
goarch: arm
main: ./cmd/agent
binary: nezha-agent
snapshot:
version_template: "nezha-agent"