-
Notifications
You must be signed in to change notification settings - Fork 47
/
action.yml
77 lines (77 loc) · 2.51 KB
/
action.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: 'Helm Publisher'
description: 'A GitHub Action for publishing Helm charts with Github Pages'
author: 'Stefan Prodan'
branding:
icon: 'command'
color: 'blue'
inputs:
token:
description: "GitHub token"
required: true
charts_dir:
description: "The charts directory, defaults to `charts`"
required: false
charts_url:
description: "The GitHub Pages URL, defaults to `https://<OWNER>.github.io/<REPOSITORY>`"
required: false
owner:
description: "The GitHub user or org that owns this repository, defaults to `GITHUB_REPOSITORY`"
required: false
repository:
description: "The GitHub repository name, defaults to `GITHUB_REPOSITORY`"
required: false
branch:
description: "The branch to publish charts, defaults to `gh-pages`"
required: false
target_dir:
description: "The target directory to store the charts, defaults to `.`"
required: false
helm_version:
description: "The Helm CLI version"
required: false
linting:
description: "Toggle Helm linting, can be disabled by setting it to 'off'"
required: false
commit_username:
description: "The user name used for the commit user"
required: false
default: ${{ github.actor }}
commit_email:
description: "The email used for the commit user"
required: false
default: ${{ github.actor }}@users.noreply.github.com
app_version:
description: "Set the appVersion on the chart to this version"
required: false
chart_version:
description: "Set the version on the chart to this version"
required: false
index_dir:
description: "The location of `index.yaml` file in the repo, defaults to the same value as `target_dir`"
required: false
enterprise_url:
description: "The URL of enterprise github server in the format '<server-url>/<organisation>'"
required: false
dependencies:
description: "A list of helm repositories required to verify dependencies in the format '<name>,<url>;<name>,<url>'"
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.token }}
- ${{ inputs.charts_dir }}
- ${{ inputs.charts_url }}
- ${{ inputs.owner }}
- ${{ inputs.repository }}
- ${{ inputs.branch }}
- ${{ inputs.target_dir }}
- ${{ inputs.helm_version }}
- ${{ inputs.linting }}
- ${{ inputs.commit_username }}
- ${{ inputs.commit_email }}
- ${{ inputs.app_version }}
- ${{ inputs.chart_version }}
- ${{ inputs.index_dir }}
- ${{ inputs.enterprise_url }}
- ${{ inputs.dependencies }}