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"