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)
|
* `nopush`: Disable Pushing to registry (boolean)
|
||||||
* `tarpath`: Export the image to tar (relative path)
|
* `tarpath`: Export the image to tar (relative path)
|
||||||
* `cache`: Use cached intermediate containers (boolean)
|
* `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)
|
* `skip_tls_verify`: Skip SSL/TLS certificate verification (boolean)
|
||||||
* `build_args`: Pass custom arguments to docker build
|
* `build_args`: Pass custom arguments to docker build
|
||||||
* `build_args_from_env`: Pass the envvars as 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"
|
NO_PUSH="--no-push"
|
||||||
fi
|
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
|
if [[ -n "${PLUGIN_TARPATH:-}" ]]; then
|
||||||
TARPATH="--tarPath=${PLUGIN_TARPATH}"
|
TARPATH="--tarPath=${PLUGIN_TARPATH}"
|
||||||
fi
|
fi
|
||||||
|
@ -112,6 +120,8 @@ fi
|
||||||
${CACHE:-} \
|
${CACHE:-} \
|
||||||
${NO_PUSH:-} \
|
${NO_PUSH:-} \
|
||||||
${TARPATH:-} \
|
${TARPATH:-} \
|
||||||
|
${NEWRUN:-} \
|
||||||
|
${SNAPSHOT_MODE:-} \
|
||||||
${CACHE_TTL:-} \
|
${CACHE_TTL:-} \
|
||||||
${CACHE_REPO:-} \
|
${CACHE_REPO:-} \
|
||||||
${TARGET:-} \
|
${TARGET:-} \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user