Add GitHub Actions workflow for Helm chart release

Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
Juan José Mata
2025-12-13 19:35:41 +01:00
committed by GitHub
parent cd2b58fa30
commit e19b90370f

36
.github/workflows/helm-release.yaml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: Release Helm Chart
on:
push:
branches:
- main
paths:
- 'charts/**'
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
pages: 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: Install Helm
uses: azure/setup-helm@v3
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: charts