build: CGO_ENABLED=0
All checks were successful
submodules sync / sync (push) Successful in 43s
build / build (push) Successful in 1m57s
build / trigger-build-image (push) Successful in 9s

This commit is contained in:
张泊明518370910136 2025-02-04 08:38:39 -05:00
parent 6b3ebebecb
commit 332bf7d4de
GPG Key ID: D47306D7062CDA9D

View File

@ -11,7 +11,7 @@ FLAGS := "-s -w -X main.Version=$(VERSION)"
all: build
build:
$(foreach APP,$(APPS), go build -ldflags=$(FLAGS) -o $(BUILD_DIR)/$(APP) ./cmd/$(APP);)
$(foreach APP,$(APPS), CGO_ENABLED=0 go build -ldflags=$(FLAGS) -o $(BUILD_DIR)/$(APP) ./cmd/$(APP);)
clean:
rm -rf $(BUILD_DIR)/*