imagebuilder: subcommand → imagetype
This commit is contained in:
parent
2964c006e7
commit
33ee5849db
1 changed files with 3 additions and 3 deletions
|
@ -158,13 +158,13 @@ case "${subcommand}" in
|
||||||
fi
|
fi
|
||||||
task_end "$?";
|
task_end "$?";
|
||||||
|
|
||||||
if [[ "${subcommand}" == "base-nopush" ]]; then
|
if [[ "${imagetype}" == "base-nopush" ]]; then
|
||||||
echo "Nopush mode invoked, not checking output directory or pushing to docker registry";
|
echo "${HC}Nopush mode invoked, not checking output directory or pushing to docker registry${RS}";
|
||||||
exit 0;
|
exit 0;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -d "${output_dir}" ]]; then
|
if [[ ! -d "${output_dir}" ]]; then
|
||||||
echo -e "Error: The builder script failed to create the output directory.";
|
echo -e "${FRED}${HC}Error: The builder script failed to create the output directory (expeting directory at ${FBLE}${output_dir}${FRED}, but found nothing).${RS}";
|
||||||
exit 6;
|
exit 6;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue