From 033a82eea5a4a1b846aaee5561a417a3085663e9 Mon Sep 17 00:00:00 2001
From: Pierre Smeyers <pierre.smeyers@orange.com>
Date: Mon, 17 May 2021 14:13:37 +0200
Subject: [PATCH] fix: wrong cache scope

---
 templates/gitlab-ci-helm.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/gitlab-ci-helm.yml b/templates/gitlab-ci-helm.yml
index ad187ae..4952e11 100644
--- a/templates/gitlab-ci-helm.yml
+++ b/templates/gitlab-ci-helm.yml
@@ -388,7 +388,7 @@ stages:
     - *helm-scripts
     - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
   cache:
-    key: "$CI_BUILD_REF_NAME"
+    key: "$CI_COMMIT_REF_SLUG-helm"
     paths:
       - .cache
       - .config
-- 
GitLab