Bug on some systems because the NodePort established for Grafana exce… #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Charts | |
on: | |
push: | |
branches: | |
- main | |
env: | |
CHARTS_DIR: "." | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
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 | grep -E 'https?://' | 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: "${{ env.CHARTS_DIR }}" | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |