From 02699d5e05d855ecb5e82f7e2c1dbb681197bbe2 Mon Sep 17 00:00:00 2001 From: Mohamed ElSayed Date: Mon, 18 Nov 2024 11:26:10 +1100 Subject: [PATCH] chore: Use helm/chart-releaser-action for helm releases --- .github/workflows/release-please.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 08eb6b4..ad899dc 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -30,6 +30,7 @@ jobs: - uses: googleapis/release-please-action@v4 id: release with: {} + publish_helm_chart: runs-on: ubuntu-latest needs: release-please @@ -37,18 +38,18 @@ jobs: steps: - uses: actions/checkout@v4 - name: Publish Helm charts - uses: stefanprodan/helm-gh-pages@master + uses: helm/chart-releaser-action@v1.6.0 with: - token: ${{ secrets.GITHUB_TOKEN }} - app_version: "${{ needs.release-please.outputs.server-version }}" - chart_version: "${{ needs.release-please.outputs.helm-version }}" + charts_dir: charts/gitops + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" publish_to_pypi: name: Publishes tag to pypi runs-on: ubuntu-latest needs: release-please if: ${{ needs.release-please.outputs.cli-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: jdx/mise-action@v2 with: