Use docker build cache

This commit is contained in:
Adrien Ferrand 2018-09-16 22:16:21 +02:00
parent aa5d2faaeb
commit a4758b6417

View File

@ -5,8 +5,9 @@ jobs:
steps:
- checkout
- run:
command:
docker build -t adferrand/backuppc .
command: |
docker pull adferrand/backuppc || true
docker build -t --cache-from adferrand/backuppc adferrand/backuppc .
- run:
command: |
mkdir -p workspace