feat(template-mcps): configure helm revision env (#518) #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Charts | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
- 'LICENSE' | |
- 'NOTICE' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pages: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Fetch history | |
run: git fetch --prune --unshallow | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Install Helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: v3.4.0 | |
- name: Add Helm repos | |
run: | | |
helm repo add elasticsearch https://helm.elastic.co | |
helm repo add neo4j https://helm.neo4j.com/neo4j | |
helm repo add mysql https://charts.bitnami.com/bitnami | |
helm repo add cp-helm-charts https://confluentinc.github.io/cp-helm-charts | |
helm repo add kafka https://charts.bitnami.com/bitnami | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
with: | |
charts_repo_url: https://helm.datahubproject.io | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |