From 956689a086320b4201117ce1c8bd60d938822994 Mon Sep 17 00:00:00 2001 From: naumso Date: Fri, 22 Aug 2025 21:46:47 +0300 Subject: [PATCH] Update plugin.sh --- plugin.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin.sh b/plugin.sh index f0dcefa..02a214f 100755 --- a/plugin.sh +++ b/plugin.sh @@ -64,6 +64,10 @@ 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}" +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 +116,7 @@ fi ${CACHE_REPO:-} \ ${TARGET:-} \ ${SKIP_UNUSED_STAGES:-} \ + ${SNAPSHOT_MODE:-} \ ${BUILD_ARGS:-} \ ${BUILD_ARGS_FROM_ENV:-} \ No newline at end of file