feat: add default registry

This commit is contained in:
2023-03-01 14:40:35 +03:00
parent fc22457470
commit cfa8115f95

View File

@ -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"