Test deploy

This commit is contained in:
Adrien Ferrand 2018-11-27 00:58:29 +01:00
parent 4d1541cf86
commit 73c821944f

View File

@ -65,6 +65,7 @@ jobs:
name: Deploy to DockerHub name: Deploy to DockerHub
command: | command: |
if [ ${CIRCLE_BRANCH} = master ]; then DOCKER_TAG=latest; else DOCKER_TAG=${CIRCLE_TAG:-${CIRCLE_BRANCH}}; fi if [ ${CIRCLE_BRANCH} = master ]; then DOCKER_TAG=latest; else DOCKER_TAG=${CIRCLE_TAG:-${CIRCLE_BRANCH}}; fi
echo ${DOCKER_TAG}
docker tag adferrand/backuppc adferrand/backuppc:${DOCKER_TAG} docker tag adferrand/backuppc adferrand/backuppc:${DOCKER_TAG}
docker push adferrand/backuppc:${DOCKER_TAG} docker push adferrand/backuppc:${DOCKER_TAG}
trigger-dockerhub: trigger-dockerhub: