diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml new file mode 100644 index 0000000..4fb3935 --- /dev/null +++ b/.github/workflows/helm.yml @@ -0,0 +1,37 @@ +name: | + Publish Helm chart + +on: + workflow_dispatch: {} + push: + branches: + - master + tags: + - v* + +permissions: + contents: write + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Configure Git + run: | + git config user.name "Helm Chart Automation" + git config user.email "rosmo@users.noreply.github.com" + + - name: Install Helm + uses: azure/setup-helm@v4 + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.6.0 + with: + charts_dir: deploy/chart + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file