Skip to content

Commit

Permalink
fix: add repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelLHuber committed Nov 5, 2024
1 parent a28465f commit aedcbd5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ jobs:
uses: azure/setup-helm@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

# temporary fix see
# https://github.com/helm/chart-releaser-action/issues/74
# https://github.com/helm/helm/issues/9903
- 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.DS_Store
!charts/*/charts/

0 comments on commit aedcbd5

Please sign in to comment.