diff --git a/.github/workflows/release-chart.yml b/.github/workflows/release-chart.yml new file mode 100644 index 0000000000..8c2811f971 --- /dev/null +++ b/.github/workflows/release-chart.yml @@ -0,0 +1,29 @@ +--- +name: Release Helm Charts + +on: + push: + branches: + - main + pull_request: + types: [synchronize, opened, reopened] + branches: + - "main" + - "v*" + +jobs: + releaseChart: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Configure Git user + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Run chart-releaser job + uses: "helm/chart-releaser-action@v1.7.0" + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file