2022-12-03 18:12:04 +00:00
|
|
|
name: Release Charts
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2023-05-25 11:51:33 +00:00
|
|
|
paths:
|
|
|
|
- 'charts/**'
|
2022-12-03 18:12:04 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
release-charts:
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-03-06 21:47:55 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-12-03 18:12:04 +00:00
|
|
|
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
|
2024-02-14 21:49:47 +00:00
|
|
|
uses: azure/setup-helm@v4.0.0 # using exact version because of https://github.com/Azure/setup-helm/issues/126
|
2022-12-03 18:12:04 +00:00
|
|
|
with:
|
2024-02-14 21:57:00 +00:00
|
|
|
version: v3.14.1
|
2022-12-03 18:12:04 +00:00
|
|
|
|
2024-01-29 14:44:41 +00:00
|
|
|
- name: Add Bitnami Helm Repo
|
|
|
|
run: helm repo add bitnami https://charts.bitnami.com/bitnami
|
|
|
|
|
2022-12-03 18:12:04 +00:00
|
|
|
- name: Run chart-releaser
|
2024-01-20 12:48:33 +00:00
|
|
|
uses: helm/chart-releaser-action@v1.6.0
|
2022-12-03 18:12:04 +00:00
|
|
|
env:
|
|
|
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|