diff --git a/hack/go-build.sh b/hack/go-build.sh index 55b58ec2..4197d85a 100755 --- a/hack/go-build.sh +++ b/hack/go-build.sh @@ -4,7 +4,6 @@ export CGO_ENABLED=${CGO_ENABLED:-0} export GOOS=${GOOS:-linux} export GOARCH=${GOARCH:-amd64} export GO111MODULE=${GO111MODULE:-on} -export GOPROXY=${GOPROXY:-https://proxy.golang.org,direct} set -x diff --git a/hack/make-project-vars.mk b/hack/make-project-vars.mk index 359cdc19..e5485a11 100644 --- a/hack/make-project-vars.mk +++ b/hack/make-project-vars.mk @@ -5,7 +5,7 @@ ENVTEST_ASSETS_DIR := $(PROJECT_DIR)/testbin GOBIN ?= $(BIN_DIR) GOOS ?= $(shell go env GOOS) GOARCH ?= $(shell go env GOARCH) -GOPROXY ?= direct,https://proxy.golang.org/ +GOPROXY ?= https://proxy.golang.org/ GO_LINT_IMG_LOCATION ?= golangci/golangci-lint GO_LINT_IMG_TAG ?= v1.49.0