From d03b44d62e3903260a45c8c3cbb58d6f5de75068 Mon Sep 17 00:00:00 2001 From: Juan Jose Jaramillo Date: Thu, 9 May 2024 15:02:50 -0700 Subject: [PATCH] feat: Automate Helm chart builds (#18) --- .github/workflows/release-charts.yml | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/release-charts.yml 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