diff --git a/.github/workflows/build-go-tools.yml b/.github/workflows/build-go-tools.yml index 09421769..382dc433 100644 --- a/.github/workflows/build-go-tools.yml +++ b/.github/workflows/build-go-tools.yml @@ -25,7 +25,7 @@ jobs: run: | mkdir cmsmon-tools cd src/go/MONIT - go build -ldflags "-s -w -extldflags '-static'" -o monit monit.go + CGO_ENABLED=0 go build -ldflags "-s -w -extldflags '-static'" -o monit monit.go go build -o alert alert.go go build -o annotationManager annotationManager.go go build -o datasources datasources.go