Update plugin.sh

This commit is contained in:
2024-02-09 12:45:21 +03:00
parent 38d9d86a78
commit d114f6d408

View File

@@ -60,9 +60,6 @@ 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)
fi
if [ -n "${PLUGIN_TARGET:-}" ]; then
TARGET="--target=${PLUGIN_TARGET}"
# 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
@@ -111,5 +108,4 @@ fi
${CACHE_REPO:-} \
${TARGET:-} \
${BUILD_ARGS:-} \
${BUILD_ARGS_FROM_ENV:-} \
${TARGET}
${BUILD_ARGS_FROM_ENV:-}