ci: CGO_ENABLED=0

This commit is contained in:
Denis Gukov 2023-03-11 09:52:49 +01:00
parent 110de5db18
commit aae5a44bf2

View File

@ -130,7 +130,7 @@ tasks:
desc: Build a binary for the current architecture
dir: cli
cmds:
- env GOOS={{ .GOOS }} GOARCH={{ .GOARCH }} go build -o ../bin/semaphore{{ if eq OS "windows" }}.exe{{ end }}
- env CGO_ENABLED=0 GOOS={{ .GOOS }} GOARCH={{ .GOARCH }} go build -o ../bin/semaphore{{ if eq OS "windows" }}.exe{{ end }}
release:
desc: creates a release without performing validations or publishing artifacts