-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
44 lines (44 loc) · 1.41 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
name: 'olm-bundle'
description: 'Update OLM bundle with new bundle versions.'
branding:
icon: box
color: red
inputs:
manifestsDir:
description: 'Directory containing all the CRDs and CSVs for a bundle.'
outputDir:
description: 'Bundle version directory. Created if not exists.'
required: true
channels:
description: 'Channels of the bundle. Comma separated channel names.'
required: true
default: stable
defaultChannel:
description: 'Name of the default channel.'
package:
description: 'OLM package name.'
required: true
operatorRepo:
description: 'Operator git repo that contains the OLM manifests.'
operatorBranch:
description: 'Operator git repo branch.'
operatorManifestsDir:
description: 'Manifests dir in the operator git repo.'
dockerfileLabels:
description: 'Path to a file containing extra Dockerfile labels.'
outputs:
tree:
description: Tree output of the generated bundle.
runs:
using: 'docker'
image: 'Dockerfile'
env:
MANIFESTS_DIR: ${{ inputs.manifestsDir }}
OUTPUT_DIR: ${{ inputs.outputDir }}
CHANNELS: ${{ inputs.channels }}
DEFAULT_CHANNEL: ${{ inputs.defaultChannel }}
PACKAGE: ${{ inputs.package }}
OPERATOR_REPO: ${{ inputs.operatorRepo }}
OPERATOR_BRANCH: ${{ inputs.operatorBranch }}
OPERATOR_MANIFESTS_DIR: ${{ inputs.operatorManifestsDir }}
DOCKERFILE_LABELS_FILE: ${{ inputs.dockerfileLabels }}