2020-02-15 18:55:26 +01:00
|
|
|
# kaniko.yml
|
|
|
|
name: "Kaniko builder"
|
|
|
|
description: "Build and push docker images using Kaniko"
|
|
|
|
branding:
|
|
|
|
icon: anchor
|
|
|
|
color: orange
|
|
|
|
inputs:
|
2020-06-20 08:41:59 +02:00
|
|
|
path:
|
|
|
|
description: Path to the build context
|
|
|
|
required: false
|
|
|
|
default: "."
|
2020-02-15 18:55:26 +01:00
|
|
|
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
|
2020-02-24 22:11:13 +01:00
|
|
|
strip_tag_prefix:
|
|
|
|
description: "Prefix to be stripped from the tag"
|
|
|
|
required: false
|
2020-02-15 18:55:26 +01:00
|
|
|
extra_args:
|
|
|
|
description: "Additional arguments to be passed to the kaniko executor"
|
|
|
|
required: false
|
2020-06-19 13:19:32 +02:00
|
|
|
skip_unchanged_digest:
|
|
|
|
description: "Avoids pushing the image if the build generated the same digest"
|
|
|
|
required: false
|
2020-06-20 13:37:54 +02:00
|
|
|
tag_with_latest:
|
|
|
|
description: "Tags the built image with additional latest tag"
|
|
|
|
required: false
|
2020-02-15 18:55:26 +01:00
|
|
|
runs:
|
|
|
|
using: "docker"
|
|
|
|
image: "Dockerfile"
|