Added new settings
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Nicolai Ort 2022-06-11 19:51:12 +02:00
parent af3b5bfdb7
commit e6243bb3a3
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
2 changed files with 12 additions and 0 deletions

View File

@ -22,6 +22,8 @@ Modified by [ODIT.Services](https://odit.services) to enable local builds to tar
* `nopush`: Disable Pushing to registry (boolean)
* `tarpath`: Export the image to tar (relative path)
* `cache`: Use cached intermediate containers (boolean)
* `newrun`: Use the experimental run implementation for detecting changes without requiring file system snapshots. (boolean)
* `snapshot_mode`: Set how kaniko will snapshot the filesystem (full,redo,time).
* `skip_tls_verify`: Skip SSL/TLS certificate verification (boolean)
* `build_args`: Pass custom arguments to docker build
* `build_args_from_env`: Pass the envvars as custom arguments to docker build

View File

@ -38,6 +38,14 @@ if [[ -n "${PLUGIN_NOPUSH:-}" ]]; then
NO_PUSH="--no-push"
fi
if [[ -n "${PLUGIN_SNAPSHOT_MODE:-}" ]]; then
SNAPSHOT_MODE="--snapshotMode=${PLUGIN_TARPATH}"
fi
if [[ -n "${PLUGIN_NEWRUN:-}" ]]; then
NEWRUN="--use-new-run"
fi
if [[ -n "${PLUGIN_TARPATH:-}" ]]; then
TARPATH="--tarPath=${PLUGIN_TARPATH}"
fi
@ -112,6 +120,8 @@ fi
${CACHE:-} \
${NO_PUSH:-} \
${TARPATH:-} \
${NEWRUN:-} \
${SNAPSHOT_MODE:-} \
${CACHE_TTL:-} \
${CACHE_REPO:-} \
${TARGET:-} \