fix: multiple dependencies, filter unique repos
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user