Skip to content

Commit

Permalink
Merge pull request #1331 from torredil/GOPROXY
Browse files Browse the repository at this point in the history
Set `GOPROXY` in `cloudbuild.yaml`
  • Loading branch information
k8s-ci-robot authored Aug 2, 2022
2 parents ffcf68c + 70db2bd commit 03fe188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 03fe188

Please sign in to comment.