Added new settings
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
af3b5bfdb7
commit
e6243bb3a3
|
@ -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
|
||||
|
|
10
plugin.sh
10
plugin.sh
|
@ -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:-} \
|
||||
|
|
Loading…
Reference in New Issue