diff --git a/.goreleaser.yml b/.goreleaser.yml index d4f1001c..5fa1ac8c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,7 +2,7 @@ # Make sure to check the documentation at http://goreleaser.com builds: - env: - - CGO_ENABLED=1 + - CGO_ENABLED=0 ldflags: -s -X github.com/sunny0826/kubecm/cmd.kubecmVersion={{.Version}} -X github.com/sunny0826/kubecm/cmd.gitCommit={{.Commit}} -X github.com/sunny0826/kubecm/cmd.buildDate={{.Date}} goos: - linux