File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ export WATCH_NAMESPACE?=openshift-sriov-network-operator
3232export HOME? =$(PWD )
3333export GOPATH? =$(shell go env GOPATH)
3434export GO111MODULE =on
35+ GOPROXY ?= $(shell go env GOPROXY)
3536PKGS =$(shell go list ./... | grep -v -E '/vendor/|/test|/examples')
3637TESTPKGS? =./...
3738
7172 @rm -rf $(BIN_DIR )
7273
7374image : ; $(info Building images...)
74- $(IMAGE_BUILDER ) build -f $(DOCKERFILE ) -t $(IMAGE_TAG ) $(CURPATH ) $(IMAGE_BUILD_OPTS )
75- $(IMAGE_BUILDER ) build -f $(DOCKERFILE_CONFIG_DAEMON ) -t $(CONFIG_DAEMON_IMAGE_TAG ) $(CURPATH ) $(IMAGE_BUILD_OPTS )
76- $(IMAGE_BUILDER ) build -f $(DOCKERFILE_WEBHOOK ) -t $(WEBHOOK_IMAGE_TAG ) $(CURPATH ) $(IMAGE_BUILD_OPTS )
75+ $(IMAGE_BUILDER ) build -f $(DOCKERFILE ) -t $(IMAGE_TAG ) $(CURPATH ) GOPROXY= " $( GOPROXY ) " $(IMAGE_BUILD_OPTS )
76+ $(IMAGE_BUILDER ) build -f $(DOCKERFILE_CONFIG_DAEMON ) -t $(CONFIG_DAEMON_IMAGE_TAG ) $(CURPATH ) GOPROXY= " $( GOPROXY ) " $(IMAGE_BUILD_OPTS )
77+ $(IMAGE_BUILDER ) build -f $(DOCKERFILE_WEBHOOK ) -t $(WEBHOOK_IMAGE_TAG ) $(CURPATH ) GOPROXY= " $( GOPROXY ) " $(IMAGE_BUILD_OPTS )
7778
7879# Run tests
7980test : generate lint manifests envtest
You can’t perform that action at this time.
0 commit comments