Commit aa3cc833 authored by Radu Carpa's avatar Radu Carpa
Browse files

automatic release of helm charts

use https://github.com/helm/chart-releaser-action to automatically
release charts on github pages.
Move existing charts to '/charts' subdirectory to respect the
desired configuration of the automatic tool.
Charts will be released as github releases rather than being put
as archives into the gh-pages branch. The index file in gh-pages
branch is automatically updated by the tool.
parent 869cd2da
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
name: Release Charts

on:
  push:
    branches:
      - master

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: Install Helm
        uses: azure/setup-helm@v1
        with:
          version: v3.4.0

      - name: Run chart-releaser
        uses: helm/chart-releaser-action@v1.2.1
        with:
          config: cr.yaml
        env:
          CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Loading