From a4758b64172521a3ce29b2783f5a26e0a60a793d Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Sun, 16 Sep 2018 22:16:21 +0200 Subject: [PATCH] Use docker build cache --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e848c83..72ff6f1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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