diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5baae223425a3bd4659d2beb5148f8eaf8fe16a9..ad1055710f0e9abfc3687205def2de1a176b6f54 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,8 +7,7 @@ build:
     - docker:18.09.6-dind
   script:
     - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.e-biz.fr
-    - docker build -t $CI_REGISTRY_IMAGE/theia:$TAG .
+    - ./build $TAG
     - docker push $CI_REGISTRY_IMAGE/theia:$TAG
   rules:
-    - if: '$CI_COMMIT_BRANCH == "main"'
-    - if: '$CI_COMMIT_TAG !~ "/^$/"'
\ No newline at end of file
+    - if: '$CI_COMMIT_BRANCH == "main"'
\ No newline at end of file