diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0df62eeb8fda04eff3ad10b4546f2abaf42a9751..d1fc7ee03c55f7bab03af696470013236a3d0036 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,8 +34,8 @@ before_script:
   - cp $SETTINGS_XML ../$SETTINGS_XML
   - cd ..
   - rm -rf $COMMON_CONFIG_LOCAL
-  - apt-get update -y && apt-get install -y python && apt-get install -y rsync openssh-client
-  - "python build_pom_with_models.py"
+  - apt-get update -y && apt-get install -y python3 && apt-get install -y rsync openssh-client
+  - "python3 build_pom_with_models.py"
 
 build:
   stage: build