summaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-10-02 23:36:25 +0200
committerDylan William Hardison <dylan@hardison.net>2017-10-02 23:36:25 +0200
commita54bdfdaf86c2ff78171e45b9b5a0a0714ef28e9 (patch)
tree77ae16e3bf0188ea5f64ef57169b5258d02be0ad /.circleci
parentfbb5e081ad1c101181492466da6356346663afed (diff)
downloadbugzilla-a54bdfdaf86c2ff78171e45b9b5a0a0714ef28e9.tar.gz
bugzilla-a54bdfdaf86c2ff78171e45b9b5a0a0714ef28e9.tar.xz
fix bug
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml22
1 files changed, 12 insertions, 10 deletions
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