From 8164c74a471c55d12eed1892ca9414882e1656ca Mon Sep 17 00:00:00 2001 From: ReinVanbelleghem <78220181+ReinVanbelleghem@users.noreply.github.com> Date: Thu, 14 Mar 2024 18:06:07 +0100 Subject: [PATCH] Create release_helmcharts.yml --- .github/workflows/release_helmcharts.yml | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/release_helmcharts.yml diff --git a/.github/workflows/release_helmcharts.yml b/.github/workflows/release_helmcharts.yml new file mode 100644 index 0000000..7e04d9c --- /dev/null +++ b/.github/workflows/release_helmcharts.yml @@ -0,0 +1,32 @@ +name: Release Charts + +on: + push: + branches: + - main + +jobs: + release: + # depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions + # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + 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: Install Helm + uses: azure/setup-helm@v3 + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.6.0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"