fix: multiple dependencies, filter unique repos
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-03 21:55:52 +03:00
parent f79636f064
commit a95fb80628

View File

@ -12,7 +12,7 @@ repo="$REGISTRY"/"$REPO"
helm repo add "$REPO" "$repo" helm repo add "$REPO" "$repo"
# Dependencies # Dependencies
eval "$(yq -o=j -I=0 '.dependencies[]' Chart.yaml | yq '"helm repo add " + .name + " " + .repository' -)" eval "$(yq '.dependencies' Chart.yaml | yq 'unique_by(.repository)' - | yq '.[] | "helm repo add " + .name + " " + .repository' -)"
helm dependency build helm dependency build
# Lint # Lint