diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index 272a8327c35..b38a576ad9c 100755 --- a/.github/scripts/build.sh +++ b/.github/scripts/build.sh @@ -3,21 +3,11 @@ set -e echo "${VERSION}" -echo "Make" -make - -echo "Build" -make docker_build - if [[ -v PUSH_REGISTRY ]] then echo "Logging in to registry" docker login -u "${REGISTRY_USER}" -p "${REGISTRY_PASS}" "${DOCKER_REGISTRY}" - make TAG="${VERSION}" docker_tag docker_push + make TAG="${VERSION}" buildpush +else + make IMAGE_PULL_POLICY=IfNotPresent buildpushkind fi - -echo "Push to registry" -make -j 4 docker_tag docker_push - -echo "Generate templates" -make templates diff --git a/.github/scripts/setup_kind.sh b/.github/scripts/setup_kind.sh new file mode 100755 index 00000000000..15e8c4ea748 --- /dev/null +++ b/.github/scripts/setup_kind.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash +curl -Lo ./kind "https://kind.sigs.k8s.io/dl/v0.8.1/kind-$(uname)-amd64" +chmod +x ./kind + +cat <