Skip to content

Reduce CI test time by optimizing task execution (#988) #277

Reduce CI test time by optimizing task execution (#988)

Reduce CI test time by optimizing task execution (#988) #277

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
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
with:
token: "${{ secrets.GITHUB_TOKEN }}"
- name: Add dependency chart repos
run: |
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add grafana https://grafana.github.io/helm-charts
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: build/charts
config: ${{ github.workspace }}/.cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"