Skip to content

Publish Helm Chart #211

Publish Helm Chart

Publish Helm Chart #211

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
jobs:
publish-chart:
name: Publish ${{ github.event.inputs.chart_name }}
runs-on: ubuntu-latest
steps:
- uses: azure/setup-helm@v1
with:
version: "v3.9.1"
- uses: actions/checkout@v2
- 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