diff --git a/.circleci/config.yml b/.circleci/config.yml index f0d1a196e17..5e80fc5dbd6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,10 +25,10 @@ commands: fi cd cbioportal-test ./scripts/build-push-image.sh --src=/tmp/repos/cbioportal --push=<> --skip_web_and_data=true - if [ "<> = "false" ]; then - EXISTS=$(docker inspect --type=image $DOCKER_REPO:$DOCKER_TAG-web-shenandoah > /dev/null; echo $?) + if [ "<>" = "false" ]; then + EXISTS=$(docker inspect --type=image $DOCKER_REPO:$DOCKER_TAG-web-shenandoah > /dev/null; echo $?); else - EXISTS=$(docker manifest inspect $DOCKER_REPO:$DOCKER_TAG-web-shenandoah > /dev/null; echo $?) + EXISTS=$(docker manifest inspect $DOCKER_REPO:$DOCKER_TAG-web-shenandoah > /dev/null; echo $?); fi if [ $EXISTS -eq 0 ]; then echo "Build succeeded!"