-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
51 lines (51 loc) · 1.44 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
---
name: 'build-image-action'
description: 'https://github.com/vmware-tanzu/build-image-action'
branding:
icon: 'tag'
color: 'blue'
inputs:
# auth
server:
description: 'Address of the server to create the kpack resource'
required: true
token:
description: ''
required: true
ca_cert:
description: ''
required: true
namespace:
description: 'Name of the developer workspace to perform builds'
required: true
# Image configuration
destination:
description: 'The full name of the image name to be built'
required: true
serviceAccountName:
description: 'The name of the service account used to run the kpack build'
required: false
default: default
env:
description: 'Build arguments to be passed to the underlying kpack build process'
required: false
default: ''
clusterBuilder:
description: 'The name of the cluster builder used to run the kpack build'
required: false
default: default
timeout:
description: 'Max active time that the pod can run for in seconds'
required: false
default: 3600
cleanup:
description: 'Should the action cleanup any generated resources on completion'
required: false
default: true
outputs:
name:
description: 'The fully qualified name of the built image including version'
runs:
using: 'docker'
image: 'docker://ghcr.io/vmware-tanzu/build-image-action:main'
entrypoint: 'github-actions-entrypoint.sh'