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

This commit is contained in:
2025-07-23 02:06:12 +03:00
parent 3537dad1e6
commit fd31143b2b

View File

@@ -60,9 +60,9 @@ if [ -n "${PLUGIN_BUILD_ARGS_FROM_ENV:-}" ]; then
BUILD_ARGS_FROM_ENV=$(echo "${PLUGIN_BUILD_ARGS_FROM_ENV}" | tr ',' '\n' | while read build_arg; do echo "--build-arg ${build_arg}=$(eval "echo \$$build_arg")"; done) BUILD_ARGS_FROM_ENV=$(echo "${PLUGIN_BUILD_ARGS_FROM_ENV}" | tr ',' '\n' | while read build_arg; do echo "--build-arg ${build_arg}=$(eval "echo \$$build_arg")"; done)
fi fi
if [[ "${PLUGIN_SKIP_UNUSED_STAGES:-}" == "true" ]]; then # 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 # full, redo, time
# if [ -n "${PLUGIN_SNAPSHOT_MODE:-}" ]; then # if [ -n "${PLUGIN_SNAPSHOT_MODE:-}" ]; then
@@ -116,7 +116,7 @@ fi
${CACHE_TTL:-} \ ${CACHE_TTL:-} \
${CACHE_REPO:-} \ ${CACHE_REPO:-} \
${TARGET:-} \ ${TARGET:-} \
${SKIP_UNUSED_STAGES:-} \ # ${SKIP_UNUSED_STAGES:-} \
# ${SNAPSHOT_MODE:-} \ # ${SNAPSHOT_MODE:-} \
${BUILD_ARGS:-} \ ${BUILD_ARGS:-} \
${BUILD_ARGS_FROM_ENV:-} ${BUILD_ARGS_FROM_ENV:-}