-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (44 loc) · 1.19 KB
/
charts-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: "Charts: Release"
concurrency: helm-release-oci
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: 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@a60dc77aa47162c2b425202233165404e6923a7f
id: collect-charts
with:
repoConfigFile: ./.ci/repo-config.yaml
overrideCharts: "[${{ inputs.charts }}]"
release-github-oci:
name: Release Application charts to GitHub Container Registry
uses: ./.github/workflows/charts-release-oci.yaml
needs:
- prepare
# - release-library-charts
with:
charts: "${{ needs.prepare.outputs.charts-to-release }}"
secrets: inherit