Skip to content

Commit ff53a45

Browse files
authored
Merge pull request #450 from robinson/main
CI/CD workflow to publish helm chart
2 parents 9131dba + 9a0755e commit ff53a45

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

.github/workflows/helm.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+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Configure Git
20+
run: |
21+
git config user.name "$GITHUB_ACTOR"
22+
git config user.email "[email protected]"
23+
24+
- name: Install Helm
25+
uses: azure/setup-helm@v3
26+
27+
- name: Run chart-releaser
28+
uses: helm/[email protected]
29+
with:
30+
skip_existing: true
31+
packages_with_index: true
32+
charts_dir: deployments
33+
env:
34+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

deployments/helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
22
name: synapse
33
description: A Helm chart for deploying Synapse
4-
version: 0.1.0
5-
appVersion: "1.0.0"
4+
version: 1.0.0
5+
appVersion: "1.0.0"

0 commit comments

Comments
 (0)