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: steps:
- checkout - checkout
- run: - run:
command: command: |
docker build -t adferrand/backuppc . docker pull adferrand/backuppc || true
docker build -t --cache-from adferrand/backuppc adferrand/backuppc .
- run: - run:
command: | command: |
mkdir -p workspace mkdir -p workspace