From: rinpatch Date: Thu, 29 Nov 2018 09:20:47 +0000 (+0300) Subject: Only jobs for one branch are allowed to use the same cache X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=72f038bdf27d088556b9dd400423fe3c5e36fbe6;p=akkoma Only jobs for one branch are allowed to use the same cache --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 154bc758b..7c240d9f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,9 @@ variables: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres DB_HOST: postgres + cache: + key: ${CI_COMMIT_REF_SLUG} paths: - deps - _build