diff --git a/build_pipeline_generator.py b/build_pipeline_generator.py index 36cd4c5bbdf6050f9e5f688e7a25216c001428a2..5437b436fa02345075d56320a3bad0da94cc8878 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