diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ba04f9a3144c6205ee46c5bb24660c295da85dc1..cba988c9e5add9f2ff485c55c6e829965b7b9b17 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