Skip to content

Commit 2ed1f37

Browse files
author
RS Krishna
authored
Merge pull request #28 from grofers/helm-release-ci
feat: github workflow for helm chart release
2 parents cbd24af + 00bad62 commit 2ed1f37

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/helm-release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release Helm Chart
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- 'charts/**'
9+
10+
jobs:
11+
release:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v1
16+
- name: Configure git
17+
run: |
18+
git config user.name "$GITHUB_ACTOR"
19+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
20+
21+
- name: Run chart-releaser
22+
uses: helm/chart-releaser-action@v1.0.0
23+
env:
24+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)