From 931d6138ef05c7df44411cb49ae37bad492f0c04 Mon Sep 17 00:00:00 2001 From: Eddie Wang Date: Fri, 13 May 2022 10:07:18 -0700 Subject: [PATCH] add .github --- .github/workflows/release.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b25b09f..365145e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,24 @@ -- name: Helm Chart Releaser - uses: helm/chart-releaser-action@v1.4.0 +name: Release Charts +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + 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@v1.2.1 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"