Skip to content

Commit

Permalink
Merge pull request #8199 from killianmuldoon/fix-release-binary
Browse files Browse the repository at this point in the history
🐛 Fix git config in release-binary builds
  • Loading branch information
sbueringer authored Feb 28, 2023
2 parents 2aa9c9d + fa07a17 commit ef2c921
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ release-binary: $(RELEASE_DIR)
-v "$$(pwd):/workspace$(DOCKER_VOL_OPTS)" \
-w /workspace \
golang:$(GO_VERSION) \
git config --global --add safe.directory /workspace; \
go build -a -trimpath -ldflags "$(LDFLAGS) -extldflags '-static'" \
-o $(RELEASE_DIR)/$(notdir $(RELEASE_BINARY)) $(BUILD_PATH)

Expand Down

0 comments on commit ef2c921

Please sign in to comment.