chore: disable go workfiles during builds

This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2024-01-17 01:27:06 -05:00
1 parent 066dc29549
commit 85918a9f99
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ build-in-docker: clean
-e GO111MODULE=on \ -e GO111MODULE=on \
-w $(GO_REPO_ROOT)/plugins/$(PLUGIN_NAME) \ -w $(GO_REPO_ROOT)/plugins/$(PLUGIN_NAME) \
$(BUILD_IMAGE) \ $(BUILD_IMAGE) \
bash -c "GO_ARGS='$(GO_ARGS)' CGO_ENABLED=0 GOOS=linux GOARCH=$(GOARCH) make -j4 $(GO_PLUGIN_MAKE_TARGET)" || exit $$? bash -c "GO_ARGS='$(GO_ARGS)' CGO_ENABLED=0 GOOS=linux GOARCH=$(GOARCH) GOWORK=off make -j4 $(GO_PLUGIN_MAKE_TARGET)" || exit $$?
clean: clean:
rm -rf $(BUILD) rm -rf $(BUILD)