File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: test
44on : ["push", "pull_request"]
55
66env :
7- GO_VERSION : " 1.20 "
7+ GO_VERSION : " 1.21 "
88 LINUX_ARCHES : " amd64 386 arm arm64 s390x mips64le ppc64le riscv64"
99
1010jobs :
Original file line number Diff line number Diff line change 33
44SRC_DIR=" ${SRC_DIR:- $PWD } "
55DOCKER=" ${DOCKER:- docker} "
6+ GOLANG=" ${GOLANG:- golang: 1.21-alpine} "
67
78TAG=$( git describe --tags --dirty)
89RELEASE_DIR=release-${TAG}
@@ -16,7 +17,7 @@ rm -Rf ${SRC_DIR}/${RELEASE_DIR}
1617mkdir -p ${SRC_DIR} /${RELEASE_DIR}
1718mkdir -p ${OUTPUT_DIR}
1819
19- $DOCKER run -ti -v ${SRC_DIR} :/go/src/github.com/containernetworking/plugins:z --rm golang:1.20-alpine \
20+ $DOCKER run -ti -v ${SRC_DIR} :/go/src/github.com/containernetworking/plugins:z --rm " ${GOLANG} " \
2021/bin/sh -xe -c " \
2122 apk --no-cache add bash tar;
2223 cd /go/src/github.com/containernetworking/plugins; umask 0022;
You can’t perform that action at this time.
0 commit comments