-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (42 loc) · 1.37 KB
/
push-helm-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
name: Release Charts
on:
push:
branches:
- main
paths:
- 'charts/invch/**'
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
#
# https://github.com/Azure/setup-helm
# Acceptable values for version are latest or any semantic version string like v2.16.7 Use this action in workflow to define which version of helm will be used.
#
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: 3.4.0 #renovate: datasource=github-releases depName=helm/helm
#- name: Add external Helm repos
# run: helm repo add bitnami https://charts.bitnami.com/bitnami
# No chart dependencies to build. So left out here.
# https://github.com/helm/chart-releaser-action
- name: Run chart-releaser
uses: helm/[email protected]
with:
version: v1.4.0
charts_dir: charts
# config:
# charts_repo_url: https://<owner>.github.io/<project>
env:
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'