Only jobs for one branch are allowed to use the same cache
authorrinpatch <rinpatch@sdf.org>
Thu, 29 Nov 2018 09:20:47 +0000 (12:20 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 29 Nov 2018 09:20:47 +0000 (12:20 +0300)
.gitlab-ci.yml

index 154bc758b1e32c18b0ad4fe2ead0efe30b7532f4..7c240d9f1523dedd0c55ecba4d72e8692ff08369 100644 (file)
@@ -8,7 +8,9 @@ variables:
   POSTGRES_USER: postgres
   POSTGRES_PASSWORD: postgres
   DB_HOST: postgres
+
 cache:
+  key: ${CI_COMMIT_REF_SLUG}
   paths:
           - deps
           - _build