Skip to content

Commit c94f0ee

Browse files
committed
Add Github workflow for new releases
1 parent 90644e4 commit c94f0ee

File tree

3 files changed

+36
-22
lines changed

3 files changed

+36
-22
lines changed

.cr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
release-name-template: "helm-{{ .Version }}"
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release Charts
2+
3+
on:
4+
push:
5+
tags:
6+
- helm-*
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@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 "[email protected]"
25+
26+
- name: Install Helm
27+
uses: azure/setup-helm@v4
28+
29+
- name: Run chart-releaser
30+
uses: helm/[email protected]
31+
with:
32+
config: .cr.yaml
33+
mark_as_latest: false # We want the actual software tag to be latest
34+
env:
35+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/helm.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)