Skip to content

Publish Helm Chart #302

Publish Helm Chart

Publish Helm Chart #302

Workflow file for this run

name: Publish Helm Chart
on:
workflow_dispatch:
inputs:
chart_name:
description: "The chart to publish (use * to publish all charts)"
required: true
permissions:
contents: write
jobs:
publish-chart:
name: Publish ${{ github.event.inputs.chart_name }}
runs-on: ubuntu-latest
steps:
- uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 #v4.3.1
with:
version: "v3.13.3"
- uses: actions/checkout@v5
- name: Configure Git Author as Workflow Actor
run: |
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
- name: Add Helm Repos
run: |
make repo-add
- name: Build ${{ github.event.inputs.chart_name }} Helm Chart & Push to Github Pages
if: github.event.inputs.chart_name != '*'
run: |
export CHART_NAME=${{ github.event.inputs.chart_name }}
export PUBLISH_CREDS=${{ github.actor }}:${{ github.token }}
make helm-publish-stable-specific-v2
- name: Build All Helm Chart & Push to Github Pages
if: github.event.inputs.chart_name == '*'
run: |
export PUBLISH_CREDS=${{ github.actor }}:${{ github.token }}
make helm-publish-all