From: Dylan William Hardison Date: Mon, 2 Oct 2017 21:36:25 +0000 (-0400) Subject: fix bug X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a54bdfdaf86c2ff78171e45b9b5a0a0714ef28e9;p=thirdparty%2Fbugzilla.git fix bug --- diff --git a/.circleci/config.yml b/.circleci/config.yml index 19de843c3..0ea606b21 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -73,16 +73,18 @@ jobs: command: apk update && apk add git openssh-client - checkout - run: docker build -t bmo . - - deploy: | - if [[ -n "$DOCKERHUB_REPO" && -n "$DOCKER_USER" && -n "$DOCKER_PASS" ]]; then - TAG="${CIRCLE_TAG:-$CIRCLE_BRANCH}" - if [[ $TAG == "master" ]]; then - TAG=latest - fi - docker tag bmo $DOCKERHUB_REPO:$TAG - docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" - docker push $DOCKERHUB_REPO:$TAG - fi + - deploy: + command: | + docker build -t bmo . + if [[ -n "$DOCKERHUB_REPO" && -n "$DOCKER_USER" && -n "$DOCKER_PASS" ]]; then + TAG="${CIRCLE_TAG:-$CIRCLE_BRANCH}" + if [[ $TAG == "master" ]]; then + TAG=latest + fi + docker tag bmo $DOCKERHUB_REPO:$TAG + docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" + docker push $DOCKERHUB_REPO:$TAG + fi test_sanity: parallelism: 4