chore: disable go workfiles during builds
This commit is contained in:
1 parent
066dc29549
commit
85918a9f99
1 file changed
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user