Fix build arg

This commit is contained in:
ztelliot 2024-07-23 23:31:38 +08:00 committed by GitHub
parent bf5aa50c90
commit 09f69098d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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=""