imagebuilder: update BASE_PATH

This commit is contained in:
Starbeamrainbowlabs 2020-08-24 19:28:31 +01:00
parent e198db4457
commit 2e618c3dd9
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -16,8 +16,8 @@ IMAGEBUILDER_REGISTRY="${IMAGEBUILDER_REGISTRY:-registry.service.mooncarrot.spac
source "${lantern_path}/lantern.sh";
if [[ -z "${BASE_PATH}" ]]; then
subtask_begin "BASE_PATH environment variable not found - setting base path to ${HC}${PWD}${RS}";
BASE_PATH="${PWD}";
subtask_begin "BASE_PATH environment variable not found - setting base path to ${HC}${repo_root}/images${RS}";
BASE_PATH="${repo_root}/images";
subtask_end "$?";
fi
if [[ ! -d "${BASE_PATH}" ]]; then