From 3638aaa470ce2d87ba39ef6b9d2434aaf516930b Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Sun, 16 Sep 2018 15:52:35 +0200 Subject: [PATCH] Separate instructions --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fb11a8e..1cfb146 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,8 +29,8 @@ jobs: docker load < /tmp/workspace/docker-backuppc.tar - deploy: command: | - if [ ${CIRCLE_BRANCH} = master ]; then DOCKER_TAG=latest else DOCKER_TAG=${CIRCLE_TAG:-${CIRCLE_BRANCH}} fi - docker tag adferrand/backuppc adferrand/backuppc:${DOCKER_TAG} + if [ ${CIRCLE_BRANCH} = master ]; then DOCKER_TAG=latest else DOCKER_TAG=${CIRCLE_TAG:-${CIRCLE_BRANCH}} fi; + docker tag adferrand/backuppc adferrand/backuppc:${DOCKER_TAG}; docker push adferrand/backuppc:${DOCKER_TAG} workflows: version: 2