Skip to content

Commit

Permalink
👷(helm) add a github workflow to publish a chart
Browse files Browse the repository at this point in the history
In order to avoid to duplicat helm chart between this repository and the
deployement repository, we decide to publish an helm chart
  • Loading branch information
rouja committed Dec 23, 2024
1 parent 6e5a0fb commit 4b9a7e0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release-helm-chart.yaml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
charts_dir: ./src/helm/
linting: off
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4b9a7e0

Please sign in to comment.