Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Add GitHub Actions workflow for Helm chart release

Juan José Matae19b90370f95
diff --git a/.github/workflows/helm-release.yaml b/.github/workflows/helm-release.yaml
new file mode 100644
index 0000000000..06e7fdeb40
--- /dev/null
+++ b/.github/workflows/helm-release.yaml
@@ -0,0 +1,36 @@
+name: Release Helm Chart
+
+on:
+ push:
+ branches:
+ - main
+ paths:
+ - 'charts/**'
+ workflow_dispatch:
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ pages: write
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ 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]
+ env:
+ CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+ with:
+ charts_dir: charts