Skip to content

Commit 98dff56

Browse files
Merge pull request #199 from adityajoshi12/helm-chart-ci
ci for publishing helm chart
2 parents 66a688b + 1f71dfb commit 98dff56

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/release_charts.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Release Chart
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+'
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 "[email protected]"
21+
- name: Install Helm
22+
uses: azure/[email protected]
23+
with:
24+
version: v3.8.1
25+
- name: Install additional Helm repos
26+
run: |
27+
helm repo add bitnami https://charts.bitnami.com/bitnami
28+
29+
- name: Operator charts
30+
uses: helm/[email protected]
31+
env:
32+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
33+
with:
34+
charts_dir: chart

0 commit comments

Comments
 (0)