Skip to content

Commit

Permalink
fix shell syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
zainasir committed Jan 7, 2025
1 parent 84cd202 commit 37a07b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ commands:
fi
cd cbioportal-test
./scripts/build-push-image.sh --src=/tmp/repos/cbioportal --push=<<parameters.push>> --skip_web_and_data=true
if [ "<<parameters.push>> = "false" ]; then
EXISTS=$(docker inspect --type=image $DOCKER_REPO:$DOCKER_TAG-web-shenandoah > /dev/null; echo $?)
if [ "<<parameters.push>>" = "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!"
Expand Down

0 comments on commit 37a07b0

Please sign in to comment.