-
Notifications
You must be signed in to change notification settings - Fork 13
/
action.yml
56 lines (55 loc) · 2.06 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
name: 'oc-new-app'
description: 'Deploy and expose an application on OpenShift'
author: 'Red Hat'
branding:
icon: circle
color: red
inputs:
app_name:
description: "Name to use for generated application artifacts"
required: true
build_env:
description: |
"Environment variable key-value pairs to pass to the build container at the run time.
Use the form env_name=env_value, and separate arguments with newlines."
required: false
create_pull_secret_from:
description: |
"Registry credentials file to use to create a pull secret.
Set this to "docker" or "podman" depending on which tool you used to log in"
required: false
image:
description: |
"The name (reference) of the image to create deployment.
It can be a container image or an image stream"
required: true
image_pull_secret_name:
description: |
"In the case of private images, provide the image pull secret if you have already created that.
Otherwise, provide inputs create_pull_secret_from or registry_hostname, registry_username and registry_password"
required: false
namespace:
description: "The OpenShift project/Kubernetes namespace to deploy to. Defaults to current context's."
required: false
port:
description: |
"A port to expose from the application container through a Service.
If exactly one port is exposed in the container metadata, then this input can be omitted."
required: false
registry_hostname:
description: "The Hostname/domain of the container image registry such as quay.io, docker.io. to create pull secret"
required: false
registry_username:
description: "Registry username to use for the pull secret"
required: false
registry_password:
description: "Password, encrypted password, or access token of the provided registry to use for the pull secret"
required: false
outputs:
route:
description: "Service route of the deployed application"
selector:
description: "Selector to filter out the deployment"
runs:
using: 'node20'
main: 'dist/index.js'