diff --git a/Makefile b/Makefile index bfb399831e..a09c715213 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ BUILD_DATE?=$(shell date -u -Iseconds) LDFLAGS?="-X ${PKG}/pkg/driver.driverVersion=${VERSION} -X ${PKG}/pkg/cloud.driverVersion=${VERSION} -X ${PKG}/pkg/driver.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/driver.buildDate=${BUILD_DATE} -s -w" GO111MODULE=on -GOPROXY=direct +GOPROXY?=direct GOPATH=$(shell go env GOPATH) GOOS=$(shell go env GOOS) GOBIN=$(shell pwd)/bin diff --git a/cloudbuild.yaml b/cloudbuild.yaml index e7a3bf509d..183557227d 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -7,5 +7,6 @@ steps: - PULL_BASE_REF=${_PULL_BASE_REF} - REGISTRY_NAME=gcr.io/${_STAGING_PROJECT} - HOME=/root + - GOPROXY=https://proxy.golang.org substitutions: _STAGING_PROJECT: "k8s-staging-provider-aws"