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
|
||||
command: |
|
||||
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:
|
||||
root: workspace
|
||||
paths:
|
||||
- docker-backuppc.tar
|
||||
- docker-backuppc.tar.gz
|
||||
deploy:
|
||||
machine: true
|
||||
steps:
|
||||
@ -56,7 +56,7 @@ jobs:
|
||||
- run:
|
||||
name: Load container
|
||||
command:
|
||||
docker load < /tmp/workspace/docker-backuppc.tar
|
||||
docker load < /tmp/workspace/docker-backuppc.tar.gz
|
||||
- run:
|
||||
name: Login to DockerHub
|
||||
command:
|
||||
|
Loading…
Reference in New Issue
Block a user