3.9 KiB
3.9 KiB
name | authors | description | tags | containerImage | containerImageUrl | url | ||||
---|---|---|---|---|---|---|---|---|---|---|
Kaniko | Woodpecker Authors | Plugin to build container images without root privileges |
|
woodpeckerci/plugin-kaniko | https://hub.docker.com/r/woodpeckerci/plugin-kaniko | https://github.com/woodpecker-ci/plugin-kaniko |
Settings can be defined using the settings
option for woodpecker plugins. All available settings and their defaults are listed below.
Settings
Settings Name | Default | Description |
---|---|---|
dry-run |
false |
disables docker push |
repo |
none | sets repository name for the image (can be a list) |
username |
none | sets username to authenticates with |
password |
none | sets password / token to authenticates with |
registry |
https://index.docker.io/v1/ |
sets docker registry to authenticate with |
dockerfile |
Dockerfile |
sets dockerfile to use for the image build |
tags |
none | sets repository tags to use for the image |
Advanced Settings
Settings Name | Default | Description |
---|---|---|
context |
. |
sets the path of the build context to use |
build-args |
none | sets custom build arguments for the build |
build-args-from-env |
none | forwards environment variables as custom arguments to the build |
auto-tag |
false |
if set generate .tags file, support format Major.Minor.Release or start with v docker tags: Major, Major.Minor, Major.Minor.Release and latest |
log-level |
info |
set different log level |
target |
none | indicate which build stage is the target build stage |
cache |
false |
use a cache repo |
cache-repo |
none | specify the cache repo |
cache-ttl |
none | set the time to live for the cache |
skip-tls-verify |
false |
ignore tls issues |
mirrors |
none | set docker hub mirrors |
json-key |
none | pass a json key to kaniko |