Skip to content

Commit bad929f

Browse files
authored
Host helm chart (#3)
1 parent fb3333c commit bad929f

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/helm-release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release Helm Chart
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'kubernetes/**'
8+
- '.github/workflows/helm-release.yml'
9+
workflow_dispatch:
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Configure Git
24+
run: |
25+
git config user.name "$GITHUB_ACTOR"
26+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
27+
28+
- name: Install Helm
29+
uses: azure/setup-helm@v4
30+
31+
- name: Run chart-releaser
32+
uses: helm/chart-releaser-action@v1.6.0
33+
with:
34+
charts_dir: kubernetes
35+
env:
36+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)