-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
38 lines (37 loc) · 1.15 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
name: Run Kubernetes Job
author: Brent Pendergraft
description: 'Runs a Kubernetes Job and reports the output to stdout'
inputs:
kubeconfig-file:
description: 'base64 encoding of the kubectl config file (usually at ~/.kube/config)'
required: false
image:
description: 'Name of the docker image in a remote repository (i.e. "debian")'
required: true
cluster-url:
description: 'Kubernetes cluster URL'
required: false
cluster-token:
description: 'Kubernetes API authentication token'
required: false
ca-file:
description: 'Path to the file containing the root CA cert for the kubernetes API server'
required: false
job-name:
description: 'Name of the job (note: used only as a prefix for an auto-generated job name)'
required: false
default: ${{github.repository}}-job
namespace:
description: 'Kubernetes namespace where the job will run'
required: false
default: 'default'
allowInsecure:
description: 'Connect to Kubernetes API server without TLS (not recommended)'
required: false
default: "false"
runs:
using: docker
image: Dockerfile
branding:
icon: zap
color: gray-dark