mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
Compress artifacts
This commit is contained in:
parent
3a5126d6fd
commit
f76cc5f0e5
@ -43,11 +43,11 @@ jobs:
|
|||||||
name: Save container
|
name: Save container
|
||||||
command: |
|
command: |
|
||||||
mkdir -p workspace
|
mkdir -p workspace
|
||||||
docker save adferrand/backuppc > workspace/docker-backuppc.tar
|
docker save adferrand/backuppc | gzip -c -1 > workspace/docker-backuppc.tar.gz
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: workspace
|
root: workspace
|
||||||
paths:
|
paths:
|
||||||
- docker-backuppc.tar
|
- docker-backuppc.tar.gz
|
||||||
deploy:
|
deploy:
|
||||||
machine: true
|
machine: true
|
||||||
steps:
|
steps:
|
||||||
@ -56,7 +56,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Load container
|
name: Load container
|
||||||
command:
|
command:
|
||||||
docker load < /tmp/workspace/docker-backuppc.tar
|
docker load < /tmp/workspace/docker-backuppc.tar.gz
|
||||||
- run:
|
- run:
|
||||||
name: Login to DockerHub
|
name: Login to DockerHub
|
||||||
command:
|
command:
|
||||||
|
Loading…
Reference in New Issue
Block a user