Skip to content

Commit

Permalink
workflow: Fix Release Workflow Failing On Charts With External Depend…
Browse files Browse the repository at this point in the history
…encies

Credits: helm/chart-releaser-action#74 (comment)
Signed-off-by: Shivam Kumar <kumar.shivam.jarvis@gmail.com>
  • Loading branch information
ShivamKumar2002 committed Dec 15, 2024
1 parent df3ca8f commit adf995c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v4

- name: Add Helm 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
done
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
env:
Expand Down

0 comments on commit adf995c

Please sign in to comment.