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
|
||||
task_end "$?";
|
||||
|
||||
if [[ "${subcommand}" == "base-nopush" ]]; then
|
||||
echo "Nopush mode invoked, not checking output directory or pushing to docker registry";
|
||||
if [[ "${imagetype}" == "base-nopush" ]]; then
|
||||
echo "${HC}Nopush mode invoked, not checking output directory or pushing to docker registry${RS}";
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
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;
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue