Skip to content

Commit 9091e4b

Browse files
committed
Add release workflow
1 parent 518b7c9 commit 9091e4b

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Release Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
permissions:
11+
contents: write
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Configure Git
21+
run: |
22+
git config user.name "$GITHUB_ACTOR"
23+
git config user.email "[email protected]"
24+
25+
- name: Install Helm
26+
uses: azure/setup-helm@v3
27+
28+
- name: Run chart-releaser
29+
uses: helm/[email protected]
30+
with:
31+
charts_repo_url: https://charts.virtualroot.dev
32+
33+
env:
34+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
helm 3.11.2
22
helm-docs 1.11.0
3+
helm-cr 1.5.0

0 commit comments

Comments
 (0)