From 78202ea78a397608561f96d324bbf29085360b89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20K=C3=BCnzel?= <simonk@fsmpi.rwth-aachen.de>
Date: Sat, 1 Mar 2025 23:37:40 +0100
Subject: [PATCH] fixup! Add package caching for CI

---
 build_pipeline_generator.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/build_pipeline_generator.py b/build_pipeline_generator.py
index f6197a3..41a4d48 100644
--- a/build_pipeline_generator.py
+++ b/build_pipeline_generator.py
@@ -178,8 +178,7 @@ echo "{\\"auths\\":{\\"$CI_REGISTRY\\":{\\"username\\":\\"$CI_REGISTRY_USER\\",\
             f"--destination=$CI_REGISTRY_IMAGE/{self.image_full_name()}:{self.context.commit_sha}",
             f"--build-arg=GIT_COMMIT_SHA={self.context.commit_sha}",
             f"--cache=true",
-            f"--cache-run-layers=true",
-            f"--cache-copy-layers=true",
+            f"--cache-repo=$CI_REGISTRY_IMAGE/{self.context.env_type()}_cache",
         ]
         
         if self.context.commit_tag is not None:
-- 
GitLab