This commit is contained in:
Adrien Ferrand 2018-09-16 20:14:40 +02:00
parent afd591f84a
commit 4c0061b758

View File

@ -29,7 +29,7 @@ jobs:
docker load < /tmp/workspace/docker-backuppc.tar docker load < /tmp/workspace/docker-backuppc.tar
- deploy: - deploy:
command: | command: |
if [ ${CIRCLE_BRANCH} = master ]; then DOCKER_TAG=latest else DOCKER_TAG=${CIRCLE_TAG:-${CIRCLE_BRANCH}} fi; DOCKER_TAG=${CIRCLE_TAG:-${CIRCLE_BRANCH}}
echo ${DOCKER_TAG} echo ${DOCKER_TAG}
workflows: workflows:
version: 2 version: 2