diff --git a/Taskfile.yml b/Taskfile.yml index 3cdd474d..ac5ed76c 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -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