Skip to content

Commit

Permalink
Created a github action to publish the helm chart released
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Sep 19, 2023
1 parent 371d92b commit da059f2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
File renamed without changes.
29 changes: 29 additions & 0 deletions .github/workflows/release-helm-chart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release Charts
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
contents: write # for creating Releases .tgz (403 from chart-releaser-action if not set)
#pages: write # not required for chart-releaser-action
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: deploy/helm
env:
CR_TOKEN: "${{ secrets.GH_TOKEN }}"

0 comments on commit da059f2

Please sign in to comment.