Skip to content

Apply automatic changes #615

Apply automatic changes

Apply automatic changes #615

name: "Charts: Release"
concurrency: helm-release
on:
workflow_dispatch:
inputs:
charts:
description: >
Charts to release. Comma-separated string.
Defaults to releasing everything.
default: ""
required: false
push:
branches:
- main
paths:
- "charts/**"
env:
HELM_VERSION: 3.9.2
jobs:
prepare:
name: Prepare data required for release
runs-on: [ self-hosted, actions-runner-elfhosted.com ]
outputs:
charts-to-release: ${{ steps.collect-charts.outputs.charts }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Collect charts to release
uses: bjw-s/helm-charts-actions/collect-charts@a60dc77aa47162c2b425202233165404e6923a7f
id: collect-charts
with:
repoConfigFile: ./.ci/repo-config.yaml
overrideCharts: "[${{ inputs.charts }}]"
release-github-pages:
name: Push charts to Chartmuseum
uses: ./.github/workflows/charts-release-helm-push-chartmuseum.yaml
needs:
- prepare
with:
charts: "${{ needs.prepare.outputs.charts-to-release }}"
secrets: inherit