ClusterFactory icon indicating copy to clipboard operation
ClusterFactory copied to clipboard

Create a Helm repository

Open Darkness4 opened this issue 3 years ago • 0 comments

name: Helm CI
on:
  push:
    paths:
      - .github/workflows/helm.yaml
      - helm/**
    branches:
      - 'main'

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: Install Helm
        uses: azure/setup-helm@v3

      - name: Configure Git
        run: |
          git config user.name "$GITHUB_ACTOR"
          git config user.email "[email protected]"

      - name: Run chart-releaser
        uses: helm/[email protected]
        with:
          charts_dir: helm
        env:
          CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
          CR_RELEASE_NAME_TEMPLATE: 'chart-{{ .Name }}-{{ .Version }}'

Darkness4 avatar Oct 05 '22 13:10 Darkness4