forked from int128/kaniko-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
62 lines (58 loc) · 1.46 KB
/
action.yaml
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
name: kaniko-action
description: Kaniko in GitHub Actions
inputs:
executor:
description: Image of Kaniko executor
required: true
default: gcr.io/kaniko-project/executor:v1.9.1
cache:
description: Enable caching layers
required: true
default: 'false'
cache-repository:
description: Remote repository for storing cached layers
required: false
cache-ttl:
description: Cache timeout
required: false
push-retry:
description: Number of retries for the push of an image
required: false
registry-mirror:
description: Use registry mirror(s)
required: false
verbosity:
description: Set the logging level
required: false
kaniko-args:
description: Extra args to Kaniko executor
required: false
# compatible with https://github.com/docker/build-push-action
build-args:
description: List of build args
required: false
context:
description: Path to the build context
required: false
file:
description: Path to the Dockerfile
required: false
labels:
description: List of metadata for an image
required: false
push:
description: Push an image to the registry
required: true
default: 'false'
tags:
description: List of tags
required: false
target:
description: Target stage to build
required: false
outputs:
digest:
description: 'Image content-addressable identifier also called a digest'
runs:
using: 'node16'
main: 'dist/index.js'