diff --git a/automation/check-patch.setup.sh b/automation/check-patch.setup.sh index 66746249..4b7867c6 100644 --- a/automation/check-patch.setup.sh +++ b/automation/check-patch.setup.sh @@ -12,8 +12,8 @@ export PATH=${GOPATH}/bin:${GOROOT}/bin:${PATH} export GOBIN=${GOROOT}/bin/ mkdir -p $GOBIN -echo 'Install Go 1.19' -export GIMME_GO_VERSION=1.19 +echo 'Install Go 1.20' +export GIMME_GO_VERSION=1.20 GIMME=/tmp/macvtap-cni/go/gimme mkdir -p $GIMME curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | HOME=${GIMME} bash >> ${GIMME}/gimme.sh diff --git a/cmd/Dockerfile b/cmd/Dockerfile index 77f67a30..50c52c2e 100644 --- a/cmd/Dockerfile +++ b/cmd/Dockerfile @@ -1,6 +1,6 @@ # Multi-stage dockerfile building a container image with both binaries included -FROM quay.io/projectquay/golang:1.19 as builder +FROM quay.io/projectquay/golang:1.20 as builder ENV GOPATH=/go WORKDIR /go/src/github.com/kubevirt/macvtap-cni COPY . . diff --git a/go.mod b/go.mod index 602c5dd4..4af4ea30 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kubevirt/macvtap-cni -go 1.19 +go 1.20 require ( github.com/aktau/github-release v0.8.1