Skip to content

Release Charts

Release Charts #16

Workflow file for this run

name: Release Charts
on:
workflow_run:
workflows:
- "Test Charts"
branches:
- main
types:
- completed
jobs:
release:
name: Publish Helm Chart
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Configure Helm repositories
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
with:
config: .github/cr-config.yaml
charts_dir: sickhub
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"