diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a56be141e585391c353b8be2e1068f9c1fe809e..d0cf62cdb43921910bc8d68d76498674527ade1d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,9 +6,8 @@ default:
   before_script:
     - python3 --version
     - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
-    - python3 get-pip.py --user
-    - pip install --upgrade pip
-    - pip install build twine
+    - pip3 install --upgrade pip
+    - pip3 install build twine
 
 stages:
   - build