Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
d652653cbe |
@ -30,11 +30,11 @@ if [[ "${PLUGIN_CACHE:-}" == "true" ]]; then
|
|||||||
CACHE="--cache=true"
|
CACHE="--cache=true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${PLUGIN_BUILD_ARGS:-}" ]]; then
|
if [ -n "${PLUGIN_BUILD_ARGS:-}" ]; then
|
||||||
BUILD_ARGS=$(echo "${PLUGIN_BUILD_ARGS}" | tr ',' '\n' | while read build_arg; do echo "--build-arg=${build_arg}"; done)
|
BUILD_ARGS=$(echo "${PLUGIN_BUILD_ARGS}" | tr ',' '\n' | while read build_arg; do echo "--build-arg=${build_arg}"; done)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${PLUGIN_TAGS:-}" ]]; then
|
if [ -n "${PLUGIN_TAGS:-}" ]; then
|
||||||
DESTINATIONS=$(echo "${PLUGIN_TAGS}" | tr ',' '\n' | while read tag; do echo "--destination=${PLUGIN_REPO}:${tag} "; done)
|
DESTINATIONS=$(echo "${PLUGIN_TAGS}" | tr ',' '\n' | while read tag; do echo "--destination=${PLUGIN_REPO}:${tag} "; done)
|
||||||
else
|
else
|
||||||
DESTINATIONS="--destination=${PLUGIN_REPO}:latest"
|
DESTINATIONS="--destination=${PLUGIN_REPO}:latest"
|
||||||
|
Reference in New Issue
Block a user