-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (39 loc) · 1.2 KB
/
release-helm.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
name: Release Charts
on:
push:
branches:
- main
paths:
- 'charts/fider/Chart.yaml'
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
with:
version: v3.12.1 # renovate: datasource=github-releases depName=helm packageName=helm/helm
- name: Build chart dependencies
run: |
for dir in charts/*/
do
(cd ${dir}; helm dependency build)
done
- name: Run chart-releaser
uses: helm/chart-releaser-action@be16258da8010256c6e82849661221415f031968 # v1.5.0
with:
version: v1.6.0 # renovate: datasource=github-releases depName=chart-releaser packageName=helm/chart-releaser
charts_dir: 'charts'
env:
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
CR_GENERATE_RELEASE_NOTES: true