From caf61434a4244795b407d061f8049851c9744a08 Mon Sep 17 00:00:00 2001 From: naumso Date: Wed, 23 Jul 2025 01:33:28 +0300 Subject: [PATCH] Update plugin.sh --- plugin.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin.sh b/plugin.sh index f0dcefa..2a3fdc7 100755 --- a/plugin.sh +++ b/plugin.sh @@ -64,6 +64,11 @@ if [[ "${PLUGIN_SKIP_UNUSED_STAGES:-}" == "true" ]]; then SKIP_UNUSED_STAGES="--skip-unused-stages=true" fi +if [[ -n "${PLUGIN_SNAPSHOT_MODE:-}" ]]; then + SNAPSHOT_MODE="--snapshot-mode=${PLUGIN_SNAPSHOT_MODE}" + # full, redo, time +fi + # auto_tag, if set auto_tag: true, auto generate .tags file # support format Major.Minor.Release or start with `v` # docker tags: Major, Major.Minor, Major.Minor.Release and latest @@ -112,6 +117,7 @@ fi ${CACHE_REPO:-} \ ${TARGET:-} \ ${SKIP_UNUSED_STAGES:-} \ + ${SNAPSHOT_MODE:-} \ ${BUILD_ARGS:-} \ ${BUILD_ARGS_FROM_ENV:-} \ No newline at end of file