Update plugin.sh
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-07-23 02:00:19 +03:00
parent 2007c5d51c
commit 69274bc1c3

View File

@@ -64,6 +64,11 @@ if [[ "${PLUGIN_SKIP_UNUSED_STAGES:-}" == "true" ]]; then
SKIP_UNUSED_STAGES="--skip-unused-stages=true" SKIP_UNUSED_STAGES="--skip-unused-stages=true"
fi 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 # auto_tag, if set auto_tag: true, auto generate .tags file
# support format Major.Minor.Release or start with `v` # support format Major.Minor.Release or start with `v`
# docker tags: Major, Major.Minor, Major.Minor.Release and latest # docker tags: Major, Major.Minor, Major.Minor.Release and latest
@@ -112,6 +117,7 @@ fi
${CACHE_REPO:-} \ ${CACHE_REPO:-} \
${TARGET:-} \ ${TARGET:-} \
${SKIP_UNUSED_STAGES:-} \ ${SKIP_UNUSED_STAGES:-} \
${SNAPSHOT_MODE:-} \
${BUILD_ARGS:-} \ ${BUILD_ARGS:-} \
${BUILD_ARGS_FROM_ENV:-} ${BUILD_ARGS_FROM_ENV:-}