Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
ci: add publish helm chart workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
h3adex committed Dec 18, 2023
1 parent c58d8f8 commit 60d9920
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release-name-template: "{{ .Name }}-helm-{{ .Version }}"
33 changes: 33 additions & 0 deletions .github/workflows/publish-chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release Helm Chart

on:
push:
branches:
- dev

jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
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: Install Helm
uses: azure/setup-helm@v3

- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: helm
config: .github/cr.yaml
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 60d9920

Please sign in to comment.