File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: test
4
4
on : ["push", "pull_request"]
5
5
6
6
env :
7
- GO_VERSION : " 1.20 "
7
+ GO_VERSION : " 1.21 "
8
8
LINUX_ARCHES : " amd64 386 arm arm64 s390x mips64le ppc64le riscv64"
9
9
10
10
jobs :
Original file line number Diff line number Diff line change 3
3
4
4
SRC_DIR=" ${SRC_DIR:- $PWD } "
5
5
DOCKER=" ${DOCKER:- docker} "
6
+ GOLANG=" ${GOLANG:- golang: 1.21-alpine} "
6
7
7
8
TAG=$( git describe --tags --dirty)
8
9
RELEASE_DIR=release-${TAG}
@@ -16,7 +17,7 @@ rm -Rf ${SRC_DIR}/${RELEASE_DIR}
16
17
mkdir -p ${SRC_DIR} /${RELEASE_DIR}
17
18
mkdir -p ${OUTPUT_DIR}
18
19
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} " \
20
21
/bin/sh -xe -c " \
21
22
apk --no-cache add bash tar;
22
23
cd /go/src/github.com/containernetworking/plugins; umask 0022;
You can’t perform that action at this time.
0 commit comments