👷(helm) add a github workflow to publish a chart

In order to avoid to duplicat helm chart between this repository and the
deployement repository, we decide to publish an helm chart
This commit is contained in:
Jacques ROUSSEL
2024-12-23 09:15:11 +01:00
parent 6e5a0fb947
commit 4b9a7e05ec
+29
View File
@@ -0,0 +1,29 @@
name: Release Charts
on:
push:
branches:
- main
jobs:
release:
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cleanup
run: rm -rf ./src/helm/extra
- name: Publish Helm charts
uses: stefanprodan/helm-gh-pages@v1.7.0
with:
charts_dir: ./src/helm/
linting: off
token: ${{ secrets.GITHUB_TOKEN }}