From e10d53f8b7b4efee2e00510e5cae5bf7c47d9ab3 Mon Sep 17 00:00:00 2001
From: MOLLI Martin <martin.molli@inria.fr>
Date: Tue, 18 Mar 2025 16:41:54 +0100
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba04f9a..cba988c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,10 +15,10 @@ build-job:       # This job runs in the build stage, which runs first.
     - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
 
     - echo "Building docker images"
-    - docker build -t camera:latest ./services/camera
-    - docker build -t motion_detector:latest ./services/motion_detector    
-    - docker build -t object_recognizer:latest ./services/object_recognizer
+    - docker build --pull -t $CI_REGISTRY_IMAGE/camera:latest ./services/camera
+    - docker build --pull -t $CI_REGISTRY_IMAGE/motion_detector:latest ./services/motion_detector    
+    - docker build --pull -t $CI_REGISTRY_IMAGE/object_recognizer:latest ./services/object_recognizer
 
-    - docker push registry.gitlab.inria.fr/stack-research-group/software/edge-to-cloud-video-processing/camera:latest
-    - docker push registry.gitlab.inria.fr/stack-research-group/software/edge-to-cloud-video-processing/motion_detector:latest
-    - docker push registry.gitlab.inria.fr/stack-research-group/software/edge-to-cloud-video-processing/object_recognizer:latest
+    - docker push $CI_REGISTRY_IMAGE/camera:latest
+    - docker push $CI_REGISTRY_IMAGE/motion_detector:latest
+    - docker push $CI_REGISTRY_IMAGE/object_recognizer:latest
-- 
GitLab