diff --git a/.github/workflows/release-charts.yml b/.github/workflows/release-charts.yml new file mode 100644 index 00000000..c517ab6d --- /dev/null +++ b/.github/workflows/release-charts.yml @@ -0,0 +1,33 @@ +name: Release Charts + +on: + push: + branches: + - main + +permissions: + contents: read + +jobs: + main: + name: Release Helm charts + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Checkout GitHub Repository + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 + 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: Run chart-releaser + uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + CR_SKIP_EXISTING: true + CR_MAKE_RELEASE_LATEST: false