From cfa8115f956aaefa0832e709a92c8ba6ccef7a81 Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Wed, 1 Mar 2023 14:40:35 +0300 Subject: [PATCH] feat: add default registry --- script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script.sh b/script.sh index a4e6b6d..70f1e4b 100755 --- a/script.sh +++ b/script.sh @@ -4,8 +4,9 @@ helm lint . export HELM_REPO_USERNAME="$PLUGIN_USERNAME" export HELM_REPO_PASSWORD="$PLUGIN_PASSWORD" +REGISTRY=${PLUGIN_REGISTRY:-"https://harbor.grachevko.ru/chartrepo"} -repo="$PLUGIN_REGISTRY"/"$PLUGIN_NAME" +repo="$REGISTRY"/"$PLUGIN_NAME" helm repo add "$PLUGIN_NAME" "$repo"