Fix release script to cd to legatus directory before calling new_docker_build.sh
- new_docker_build.sh requires .envrc in current directory - Change to LEGATUS_ROOT before invoking the script Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 file changed
+3
-1
@@ -44,8 +44,10 @@ log_info "Build number: ${BUILD_NUMBER}"
|
||||
log_info "Build tag: ${BUILD_TAG}"
|
||||
|
||||
# Build prebuilt image and run Jenkins builder inside container
|
||||
# new_docker_build.sh must be run from the legatus directory (where .envrc exists)
|
||||
log_info "Building prebuilt Docker image and running Jenkins builder..."
|
||||
bash "${LEGATUS_ROOT}/new_docker_build.sh" \
|
||||
cd "${LEGATUS_ROOT}"
|
||||
bash ./new_docker_build.sh \
|
||||
--build-prebuilt-image \
|
||||
--use-prebuilt-image \
|
||||
--run-jenkins-builder \
|
||||
|
||||
Reference in new issue
Block a user