Skip to content

Update release-helm-chart.yaml #6

Update release-helm-chart.yaml

Update release-helm-chart.yaml #6

name: Release Helm Chart and Create GitHub Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Setup Helm
uses: azure/setup-helm@v1
with:
version: '3.7.0'
# Add Helm repo and update dependencies
- name: Add Helm repositories and update dependencies
run: |
helm repo add incubator https://charts.helm.sh/incubator
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add elastic https://helm.elastic.co
helm repo add grafana https://grafana.github.io/helm-charts
helm dependency update .
- name: Lint and Test Chart
run: helm lint .
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.1.0
with:
version: v1.2.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"