Skip to content

bump controller 1.1.16 (#286) #31

bump controller 1.1.16 (#286)

bump controller 1.1.16 (#286) #31

name: Release Helm Charts
on:
push:
branches:
- main
jobs:
release:
name: Release Helm Charts
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.16.2
- name: Add dependency 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: Configure Git for Chart Releaser
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: netfoundry/chart-releaser-action@v0
with:
version: v0.1.6110
charts_dir: charts
skip_existing: true
mark_as_latest: true
pages_branch: gh-pages
generate_release_notes: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"