diff --git a/scripts/build-and-push-images.sh b/scripts/build-and-push-images.sh index 721c33e8..880d195a 100755 --- a/scripts/build-and-push-images.sh +++ b/scripts/build-and-push-images.sh @@ -12,7 +12,7 @@ fi version="$(make -s -f "${makefile_path}" version)" platforms="linux/amd64" -image_repository="${KO_DOCKER_REPO}" +image_repository="${KO_DOCKER_REPO:-}" goproxy="direct|https://proxy.golang.org" usage=$(cat << EOM diff --git a/scripts/sync-readme-to-ecr-public.sh b/scripts/sync-readme-to-ecr-public.sh index 6cd35214..2c07322f 100644 --- a/scripts/sync-readme-to-ecr-public.sh +++ b/scripts/sync-readme-to-ecr-public.sh @@ -11,7 +11,7 @@ if ! command -v jq; then fi region="${AWS_REGION:-us-east-1}" -repo_root="${KO_DOCKER_REPO}" +repo_root="${KO_DOCKER_REPO:-}" version="$(make -s -f "${makefile_path}" version)" usage=$(cat << EOM