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

This commit is contained in:
2025-07-23 01:33:28 +03:00
parent fdd56cfe5f
commit caf61434a4

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
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 # 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:-}