chore(build): fixing api build script
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
f4084827aa
commit
ec5b6714e0
2 changed files with 4 additions and 4 deletions
|
|
@ -39,8 +39,9 @@ function build_api(){
|
|||
check_prereq
|
||||
build_api $1
|
||||
echo buil_complete
|
||||
IMAGE_TAG=$IMAGE_TAG PUSH_IMAGE=$PUSH_IMAGE DOCKER_REPO=$DOCKER_REPO bash build_alerts.sh $1
|
||||
source build_alerts.sh $1
|
||||
|
||||
[[ $1 == "ee" ]] && {
|
||||
IMAGE_TAG=$IMAGE_TAG PUSH_IMAGE=$PUSH_IMAGE DOCKER_REPO=$DOCKER_REPO bash build_crons.sh $1
|
||||
}
|
||||
}
|
||||
echo "api done"
|
||||
|
|
|
|||
|
|
@ -41,9 +41,8 @@ envarg="default-foss"
|
|||
check_prereq() {
|
||||
which docker || {
|
||||
echo "Docker not installed, please install docker."
|
||||
exit=1
|
||||
exit 1
|
||||
}
|
||||
[[ exit -eq 1 ]] && exit 1
|
||||
}
|
||||
|
||||
function build_api(){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue