Skip to content

Commit d9371c8

Browse files
gmcjygmcjy
authored andcommitted
Added release chart
1 parent f3024a0 commit d9371c8

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
11+
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
12+
permissions:
13+
contents: write
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Configure Git
22+
run: |
23+
git config user.name "$GITHUB_ACTOR"
24+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
25+
26+
- name: Install Helm
27+
uses: azure/setup-helm@v3
28+
with:
29+
version: v3.10.0
30+
31+
- name: Run chart-releaser
32+
uses: helm/chart-releaser-action@v1.4.1
33+
env:
34+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
35+
with:
36+
charts_dir: helm-charts

0 commit comments

Comments
 (0)