diff --git a/plugin.sh b/plugin.sh index f0dcefa..95839a8 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