From 3d91fb2d5cfd3b2394e6852dbe663192689167a3 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 19:56:11 +0100
Subject: [PATCH] fixup! Add package caching for CI

---
 build_pipeline_generator.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build_pipeline_generator.py b/build_pipeline_generator.py
index 36cd4c5..5437b43 100644
--- a/build_pipeline_generator.py
+++ b/build_pipeline_generator.py
@@ -174,7 +174,7 @@ echo "{\\"auths\\":{\\"$CI_REGISTRY\\":{\\"username\\":\\"$CI_REGISTRY_USER\\",\
             f"--context=git://git.fsmpi.rwth-aachen.de/videoag/backend.git#{self.context.commit_sha}",
             f"--dockerfile={str(self.output_dockerfile_path().relative_to(self.context.build_dir))}",
             f"--git recurse-submodules=true",
-            f"--destination=$CI_REGISTRY_IMAGE/{self.image_full_name()}#{self.context.commit_sha}",
+            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",
         ]
@@ -209,7 +209,7 @@ test-{self.target_image_name}:
     stage: build-and-test
     needs: [{self.ci_build_job_name()}]
     image:
-        name: $CI_REGISTRY_IMAGE/{self.image_full_name()}#{self.context.commit_sha}
+        name: $CI_REGISTRY_IMAGE/{self.image_full_name()}:{self.context.commit_sha}
 """
         res += "    " + "\n    ".join(self.ci_test_job_template.splitlines()) + "\n"
         return res
-- 
GitLab