File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,25 @@ dist: build
22version : 2
33builds :
44 - binary : mongodb_exporter
5+ env :
6+ goos :
7+ - linux
8+ - darwin
9+ - windows
10+ goarch :
11+ - amd64
12+ - arm
13+ - arm64
14+ goarm :
15+ - 7
16+ ignore :
17+ - goos : darwin
18+ goarch : arm
19+ flags :
20+ - -v
21+ ldflags :
22+ - -s -w -X main.version=v{{.Version}} -X main.commit={{.ShortCommit}} -X main.buildDate={{.Date}}
23+ - binary : mongodb_exporter.gssapi
524 env :
625 - CGO_ENABLED=1
726 goos :
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ init: ## Install linters
7171 cd tools && go generate -x -tags=tools
7272
7373build : # # Compile using plain go build
74- CGO_ENABLED=1 go build -ldflags=" $( GO_BUILD_LDFLAGS) " -o $(PMM_RELEASE_PATH ) /mongodb_exporter -tags gssapi
74+ go build -ldflags=" $( GO_BUILD_LDFLAGS) " -o $(PMM_RELEASE_PATH ) /mongodb_exporter
7575
7676release : # # Build the binaries using goreleaser
7777 docker run --rm --privileged \
You can’t perform that action at this time.
0 commit comments