diff --git a/scripts/e2e-tests.sh b/scripts/e2e-tests.sh index bed3542c3a..1833d18187 100755 --- a/scripts/e2e-tests.sh +++ b/scripts/e2e-tests.sh @@ -263,6 +263,8 @@ function setup_test_cluster() { echo "- User is ${K8S_USER_OVERRIDE}" echo "- Docker is ${DOCKER_REPO_OVERRIDE}" + export KO_DOCKER_REPO="${DOCKER_REPO_OVERRIDE}" + trap teardown_test_resources EXIT if (( USING_EXISTING_CLUSTER )) && function_exists teardown; then