Skip to content

Commit 3e58e1c

Browse files
committed
hack: allow to set GO_VERSION during tests
Signed-off-by: CrazyMax <[email protected]>
1 parent 0eafef8 commit 3e58e1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hack/test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
. $(dirname $0)/util
44
set -eu -o pipefail
55

6+
: ${GO_VERSION=}
67
: ${HTTP_PROXY=}
78
: ${HTTPS_PROXY=}
89
: ${NO_PROXY=}
@@ -74,6 +75,7 @@ if [[ "$GOBUILDFLAGS" == *"-race"* ]]; then
7475
fi
7576

7677
buildxCmd build $cacheFromFlags \
78+
--build-arg GO_VERSION \
7779
--build-arg BUILDKITD_TAGS \
7880
--build-arg HTTP_PROXY \
7981
--build-arg HTTPS_PROXY \

0 commit comments

Comments
 (0)