-
Notifications
You must be signed in to change notification settings - Fork 56
/
action.yml
65 lines (65 loc) · 1.78 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
57
58
59
60
61
62
63
64
65
# kaniko.yml
name: "Kaniko builder"
description: "Build and push docker images using Kaniko"
branding:
icon: anchor
color: orange
inputs:
path:
description: Path to the build context
required: false
default: "."
registry:
description: "Docker registry where the image will be pushed"
required: false
username:
description: "Username used for authentication to the Docker registry"
required: false
password:
description: "Password used for authentication to the Docker registry"
required: false
image:
description: "Image name"
required: true
tag:
description: "Image tag"
required: false
cache:
description: "Enables build cache"
required: false
cache_ttl:
description: "How long the cache should be considered valid"
required: false
cache_registry:
description: "Docker registry meant to be used as cache"
required: false
cache_directory:
description: "Filesystem path meant to be used as cache"
required: false
build_file:
description: "Dockerfile filename"
required: false
strip_tag_prefix:
description: "Prefix to be stripped from the tag"
required: false
extra_args:
description: "Additional arguments to be passed to the kaniko executor"
required: false
skip_unchanged_digest:
description: "Avoids pushing the image if the build generated the same digest"
required: false
tag_with_latest:
description: "Tags the built image with additional latest tag"
required: false
target:
description: Sets the target stage to build
required: false
debug:
description: Enables trace for entrypoint.sh
required: false
outputs:
image:
description: "Full reference to the built image with registry and tag"
runs:
using: "docker"
image: "Dockerfile"