Skip to content

Commit bc95813

Browse files
chore: add chart release workflow
1 parent 82339d8 commit bc95813

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Configure Git
18+
run: |
19+
git config user.name "$GITHUB_ACTOR"
20+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
21+
- name: Install Helm
22+
uses: azure/setup-helm@v1
23+
with:
24+
version: v3.4.0
25+
26+
- name: Run chart-releaser
27+
uses: helm/chart-releaser-action@v1.2.1
28+
with:
29+
charts_dir: helm-charts
30+
env:
31+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)