From 69274bc1c3cec5d144d2fb5943d06d3ae29b194d Mon Sep 17 00:00:00 2001 From: naumso Date: Wed, 23 Jul 2025 02:00:19 +0300 Subject: [PATCH] Update plugin.sh --- plugin.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin.sh b/plugin.sh index f0dcefa..20c7155 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 +# full, redo, time +if [ -n "${PLUGIN_SNAPSHOT_MODE:-}" ]; then + SNAPSHOT_MODE="--snapshot-mode=${PLUGIN_SNAPSHOT_MODE}" +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