Skip to content

Commit 828d994

Browse files
committed
feat: Add GitHub Action for chart releasing
1 parent 6f68095 commit 828d994

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
permissions:
11+
contents: write
12+
packages: write
13+
id-token: write
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
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: Run chart-releaser
27+
uses: helm/chart-releaser-action@v1.7.0
28+
env:
29+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
30+
charts_dir: "."

Chart.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
apiVersion: v2
22
name: garm
33
description: GARM (Github/Gitea Actions Runner Manager) Helm Chart
4+
home: https://igrikus.github.io/garm-helm-chart
5+
sources:
6+
- https://github.com/igrikus/garm-helm-chart
7+
- https://github.com/cloudbase/garm
48

59
type: application
610

0 commit comments

Comments
 (0)