Skip to content

Commit 96db4c6

Browse files
committed
Add Helm chart publish workflow
1 parent 92ab7ef commit 96db4c6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish Helm chart
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build_push_chart:
8+
name: Build and push Helm chart
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out the repository
12+
uses: actions/checkout@v4
13+
with:
14+
# This is important for the semver action to work correctly
15+
# when determining the number of commits since the last tag
16+
fetch-depth: 0
17+
18+
- name: Get SemVer version for current commit
19+
id: semver
20+
uses: azimuth-cloud/github-actions/semver@master
21+
22+
- name: Publish Helm charts
23+
uses: azimuth-cloud/github-actions/helm-publish@master
24+
with:
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
version: ${{ steps.semver.outputs.version }}
27+
app-version: ${{ steps.semver.outputs.short-sha }}

0 commit comments

Comments
 (0)