Skip to content

Commit

Permalink
Github action adds helm dependecies first
Browse files Browse the repository at this point in the history
  • Loading branch information
xannz committed Oct 29, 2024
1 parent 091b6de commit c668256
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release_helmcharts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3

- 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
done
- name: Run chart-releaser
uses: helm/[email protected]
Expand Down

0 comments on commit c668256

Please sign in to comment.