diff --git a/build.sh b/build.sh index 1362e8c174..64b94723b5 100755 --- a/build.sh +++ b/build.sh @@ -10,7 +10,7 @@ # All k8s versions, starting from 1.15 -K8S_VERSIONS=$(git ls-remote --refs --tags https://github.com/kubernetes/kubernetes.git | cut -d/ -f3 | grep -e '^v1\.[0-9]\{2\}\.[0-9]\{1,2\}$' | grep -v -e '^v1\.1[0-4]\{1\}' ) +K8S_VERSIONS=$(git ls-remote --refs --tags https://github.com/kubernetes/kubernetes.git | cut -d/ -f3 | grep -e '^v1\.[0-9]\{2\}\.[0-9]\{1,2\}$' | grep -v -e '^v1\.1[0-8]\{1\}' ) OPENAPI2JSONSCHEMABIN="docker run -i -v ${PWD}:/out/schemas ghcr.io/yannh/openapi2jsonschema:latest" if [ -n "${K8S_VERSION_PREFIX}" ]; then