Fix build arg quoting
This commit is contained in:
parent
973038b5eb
commit
f9604bffb1
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ if [ -n "${PLUGIN_CACHE_TTL:-}" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${PLUGIN_BUILD_ARGS:-}" ]; then
|
if [ -n "${PLUGIN_BUILD_ARGS:-}" ]; then
|
||||||
BUILD_ARGS=$(echo "${PLUGIN_BUILD_ARGS}" | tr ',' '\n' | while read -r build_arg; do echo "--build-arg ${build_arg}"; done)
|
BUILD_ARGS=$(echo "${PLUGIN_BUILD_ARGS}" | tr ',' '\n' | while read -r build_arg; do echo "--build-arg \"${build_arg}\""; done)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BUILD_ARGS_FROM_ENV=""
|
BUILD_ARGS_FROM_ENV=""
|
||||||
|
@ -146,6 +146,6 @@ fi
|
||||||
"${CACHE_TTL:-}" \
|
"${CACHE_TTL:-}" \
|
||||||
"${CACHE_REPO:-}" \
|
"${CACHE_REPO:-}" \
|
||||||
"${TARGET:-}" \
|
"${TARGET:-}" \
|
||||||
"${BUILD_ARGS:-}" \
|
${BUILD_ARGS:-} \
|
||||||
${BUILD_ARGS_FROM_ENV:-} \
|
${BUILD_ARGS_FROM_ENV:-} \
|
||||||
"${MIRROR:-}"
|
"${MIRROR:-}"
|
||||||
|
|
Reference in a new issue