From 5be801bc150ecf86ced0dc8fe8ef986f51517f46 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 12 Jul 2022 19:58:05 -0700 Subject: [PATCH] Enable caching on build --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a7abcf07..e94962f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,5 +8,5 @@ build_image: - echo $CI_REGISTRY_USER - echo $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - docker build --no-cache -t $CI_REGISTRY/jafner/calibre-web/calibre-web:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA -t $CI_REGISTRY/jafner/calibre-web/calibre-web:$CI_COMMIT_BRANCH-latest . + - docker build -t $CI_REGISTRY/jafner/calibre-web/calibre-web:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA -t $CI_REGISTRY/jafner/calibre-web/calibre-web:$CI_COMMIT_BRANCH-latest . - docker push $CI_REGISTRY/jafner/calibre-web/calibre-web --all-tags