fix nightly builds
are still red, trying to fix them.
@@ -4,7 +4,7 @@ set -ex
# Get golang
docker login --username "$(cat "${QUAY_USER}")" --password-stdin quay.io < "${QUAY_PASSWORD}"
-wget -q https://dl.google.com/go/go1.16.4.linux-amd64.tar.gz
+wget -q https://dl.google.com/go/go1.17.3.linux-amd64.tar.gz
tar -C /usr/local -xf go*.tar.gz
export PATH=/usr/local/go/bin:$PATH
@@ -23,6 +23,7 @@ rm -rf kubevirt
git clone https://github.com/kubevirt/kubevirt.git
(cd kubevirt; git checkout "${latest_kubevirt_commit}")
go mod edit -replace kubevirt.io/client-go=./kubevirt/staging/src/kubevirt.io/client-go
+go mod edit -replace kubevirt.io/api=./kubevirt/staging/src/kubevirt.io/api
go mod vendor
# set envs
