Skip to content

service.type needed in NOTES.txt (but we may not be using it while te… #9

service.type needed in NOTES.txt (but we may not be using it while te…

service.type needed in NOTES.txt (but we may not be using it while te… #9

name: Release Helm Charts
on:
push:
branches:
- main
workflow_dispatch: # Allows manual triggering
jobs:
release-helm-charts:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# https://github.com/helm/chart-releaser-action
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"