From 7bc43a5db239f63e04b50dbaf5be28ead76564c3 Mon Sep 17 00:00:00 2001 From: Kazys Gurskas Date: Fri, 6 Oct 2023 21:49:58 +0300 Subject: [PATCH] ci: Add helm chart release workflow (#4) --- .github/workflows/helm.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/helm.yaml diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml new file mode 100644 index 0000000..16a56f9 --- /dev/null +++ b/.github/workflows/helm.yaml @@ -0,0 +1,35 @@ +name: helm + +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + + permissions: + contents: write + + 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.5.0 + with: + charts_dir: helm + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + CR_RELEASE_NAME_TEMPLATE: "helm-v{{ .Version }}"