This commit is contained in:
12
plugin.sh
12
plugin.sh
@@ -60,14 +60,7 @@ 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
|
|
||||||
# SKIP_UNUSED_STAGES="--skip-unused-stages=true"
|
|
||||||
# fi
|
|
||||||
|
|
||||||
# full, redo, time
|
|
||||||
# if [ -n "${PLUGIN_SNAPSHOT_MODE:-}" ]; then
|
|
||||||
# SNAPSHOT_MODE="--snapshot-mode=${PLUGIN_SNAPSHOT_MODE}"
|
|
||||||
# fi
|
|
||||||
|
|
||||||
# auto_tag, if set auto_tag: true, auto generate .tags file
|
# auto_tag, if set auto_tag: true, auto generate .tags file
|
||||||
# support format Major.Minor.Release or start with `v`
|
# support format Major.Minor.Release or start with `v`
|
||||||
@@ -116,8 +109,5 @@ fi
|
|||||||
${CACHE_TTL:-} \
|
${CACHE_TTL:-} \
|
||||||
${CACHE_REPO:-} \
|
${CACHE_REPO:-} \
|
||||||
${TARGET:-} \
|
${TARGET:-} \
|
||||||
# ${SKIP_UNUSED_STAGES:-} \
|
|
||||||
# ${SNAPSHOT_MODE:-} \
|
|
||||||
${BUILD_ARGS:-} \
|
${BUILD_ARGS:-} \
|
||||||
${BUILD_ARGS_FROM_ENV:-}
|
${BUILD_ARGS_FROM_ENV:-};
|
||||||
|
|
||||||
Reference in New Issue
Block a user