diff --git a/.gitea/workflows/render-manifests.yaml b/.gitea/workflows/render-manifests.yaml index 21381f16d..0b4b519a7 100644 --- a/.gitea/workflows/render-manifests.yaml +++ b/.gitea/workflows/render-manifests.yaml @@ -48,9 +48,9 @@ jobs: echo ">> Adding repositories for chart dependencies of cluster $cluster ..." for chart_path in ${MAIN_DIR}/clusters/$cluster/helm/*; do helm dependency list --max-col-width 120 $chart_path 2> /dev/null \ - | tail +2 | head -n 1 \ + | tail +2 | head -n -1 \ | awk '{ print "helm repo add " $1 " " $3 }' \ - | sh + | while read cmd; do echo "$cmd" | sh; done done done