From e01575ec69f73a779b1a67defcfc2bcf3e138ce9 Mon Sep 17 00:00:00 2001 From: sborny Date: Tue, 29 Oct 2024 13:10:52 +0100 Subject: [PATCH] Filter out file:// helm dependecies --- .github/workflows/release_helmcharts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_helmcharts.yml b/.github/workflows/release_helmcharts.yml index 5333263..1d5102d 100644 --- a/.github/workflows/release_helmcharts.yml +++ b/.github/workflows/release_helmcharts.yml @@ -32,7 +32,7 @@ jobs: - name: Add repositories run: | for dir in $(ls -d charts/*/); do - helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done + helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | grep -v -E 'file://' | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done done - name: Run chart-releaser