mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
Separate instructions
This commit is contained in:
parent
f9651328bd
commit
3638aaa470
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user