Skip to content

Commit

Permalink
Ensure publich adds helm deps as a pre-step
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Layfield <[email protected]>
  • Loading branch information
DandyDeveloper committed Feb 5, 2024
1 parent cc29d20 commit d354292
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3

- name: Install Helm Deps
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/[email protected]
env:
Expand Down

0 comments on commit d354292

Please sign in to comment.