Skip to content

Commit d6bcbf7

Browse files
author
Mario Valderrama
committed
release-tools: update
2 parents 4d7af65 + b0a7db4 commit d6bcbf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

release-tools/prow.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,8 @@ run_with_go () {
441441
else
442442
version=local
443443
fi
444-
GOTOOLCHAIN=$version run "$@"
444+
# Set GOMODCACHE to make sure Kubernetes does not need to download again.
445+
GOTOOLCHAIN=$version GOMODCACHE="$(go env GOMODCACHE)" run "$@"
445446
}
446447

447448
# Ensure that we have the desired version of kind.

0 commit comments

Comments
 (0)