-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
51 lines (51 loc) · 1.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
# action.yml
name: 'Helm Push'
description: 'Pushes helm charts to a ChartMuseum or OCI compatible registry.'
branding:
color: 'green'
icon: 'upload-cloud'
inputs:
access-token:
description: 'API Token with read/write permissions to the helm registry'
required: false
default: ''
username:
description: 'Username read/write permissions to the helm registry'
required: false
default: ''
password:
description: 'Password with read/write permissions to the helm registry'
required: false
default: ''
registry-url:
description: 'Repository url'
required: true
default: ''
charts-dir:
description: 'Relative path to charts dir'
required: false
default: 'charts'
force:
description: 'Whether or not to override existing chart with same version'
required: false
default: 'false'
linting:
description: 'Whether or not to lint helm charts'
required: false
default: 'false'
useOCIRegistry:
description: 'If publishing to big cloud registries, utilizing OCI container spec for helm packages, set to true'
required: false
default: 'false'
runs:
using: 'docker'
image: 'Dockerfile'
env:
CHARTS_DIR: ${{ inputs.charts-dir }}
FORCE: ${{ inputs.force }}
LINTING: ${{ inputs.linting }}
REGISTRY_URL: ${{ inputs.registry-url }}
REGISTRY_ACCESS_TOKEN: ${{ inputs.access-token }}
REGISTRY_USERNAME: ${{ inputs.username }}
REGISTRY_PASSWORD: ${{ inputs.password }}
USE_OCI_REGISTRY: ${{ inputs.useOCIRegistry }}