mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-08-14 23:57:15 +00:00
d75cbf85e2
* Update bjw-s/helm-charts-actions digest to 7f5bb8e * CI: There was one typo --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Skyler Mäntysaari <samip5@users.noreply.github.com>
50 lines
No EOL
1.1 KiB
YAML
50 lines
No EOL
1.1 KiB
YAML
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.10.2
|
|
|
|
jobs:
|
|
prepare:
|
|
name: Prepare data required for release
|
|
runs-on: ubuntu-latest
|
|
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@7f5bb8e9ebf1b822538f7fa19ca7d1af5291fd90
|
|
id: collect-charts
|
|
with:
|
|
repoConfigFile: ./.ci/repo-config.yaml
|
|
overrideCharts: "[${{ inputs.charts }}]"
|
|
|
|
release-github-pages:
|
|
name: Release Charts to GitHub pages
|
|
uses: ./.github/workflows/charts-release-ghpages.yaml
|
|
needs:
|
|
- prepare
|
|
with:
|
|
charts: "${{ needs.prepare.outputs.charts-to-release }}"
|
|
secrets: inherit |