From 72f038bdf27d088556b9dd400423fe3c5e36fbe6 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Thu, 29 Nov 2018 12:20:47 +0300 Subject: [PATCH] Only jobs for one branch are allowed to use the same cache --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2