diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml new file mode 100644 index 000000000..ae07eb0e3 --- /dev/null +++ b/.github/workflows/helm.yml @@ -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 "$GITHUB_ACTOR@users.noreply.github.com" + + - name: Install Helm + uses: azure/setup-helm@v3 + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.6.0 + with: + skip_existing: true + packages_with_index: true + charts_dir: deployments + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/deployments/helm/Chart.yaml b/deployments/helm/Chart.yaml index da6a5db6b..7eb5b98fe 100644 --- a/deployments/helm/Chart.yaml +++ b/deployments/helm/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 name: synapse description: A Helm chart for deploying Synapse -version: 0.1.0 -appVersion: "1.0.0" \ No newline at end of file +version: 1.0.0 +appVersion: "1.0.0"