Skip to content

Commit 7392f29

Browse files
authored
Add release helm charts workflow (#349)
1 parent aca1de7 commit 7392f29

File tree

1 file changed

+33
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)