diff --git a/bin/kind-load b/bin/kind-load index 1df3b7478..623de688e 100755 --- a/bin/kind-load +++ b/bin/kind-load @@ -58,12 +58,13 @@ cluster=${1:-"kind"} bindir=$( cd "${0%/*}" && pwd ) -# shellcheck source=_tag.sh -. "$bindir"/_tag.sh -# shellcheck source=_docker.sh -. "$bindir"/_docker.sh - -TAG=${TAG:-$(head_root_tag)} +if [ -z "$images" ] || [ -n "$images_host" ]; then + # shellcheck source=_tag.sh + . "$bindir"/_tag.sh + # shellcheck source=_docker.sh + . "$bindir"/_docker.sh + TAG=${TAG:-$(head_root_tag)} +fi # This is really to load the kind binary synchronously, before # the parallel executions below attempt doing so