Skip to content

Commit

Permalink
chores: Add repos
Browse files Browse the repository at this point in the history
  • Loading branch information
Altair-Bueno committed Jul 4, 2023
1 parent 48d4d75 commit 0e6c996
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main

env:
CHARTS_DIR: "."
jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -19,9 +21,14 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Add repositories
run: |
for dir in $(ls -d ${{ env.CHARTS_DIR }}/*/); 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]
with:
charts_dir: "."
charts_dir: "${{ env.CHARTS_DIR }}"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 0e6c996

Please sign in to comment.