Define workspace

This commit is contained in:
Adrien Ferrand 2018-09-16 12:03:05 +02:00
parent a60d5ab708
commit abcdccaf34

View File

@ -12,9 +12,11 @@ jobs:
command: command:
docker build -t adferrand/backuppc:${CIRCLE_TAG} . docker build -t adferrand/backuppc:${CIRCLE_TAG} .
- run: - run:
command: command: |
docker save adferrand/backuppc:${CIRCLE_TAG} > docker-backuppc.tar mkdir -p workspace
docker save adferrand/backuppc:${CIRCLE_TAG} > workspace/docker-backuppc.tar
- persist_to_workspace: - persist_to_workspace:
root: workspace
paths: paths:
- docker-backuppc.tar - docker-backuppc.tar
deploy: deploy: