Skip to content

Commit

Permalink
Merge pull request #450 from robinson/main
Browse files Browse the repository at this point in the history
CI/CD workflow to publish helm chart
  • Loading branch information
cdavernas authored Nov 12, 2024
2 parents 9131dba + 9a0755e commit ff53a45
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release Charts

on:
push:
branches:
- main

jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3

- name: Run chart-releaser
uses: helm/[email protected]
with:
skip_existing: true
packages_with_index: true
charts_dir: deployments
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 2 additions & 2 deletions deployments/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: synapse
description: A Helm chart for deploying Synapse
version: 0.1.0
appVersion: "1.0.0"
version: 1.0.0
appVersion: "1.0.0"

0 comments on commit ff53a45

Please sign in to comment.