diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 34549175dedfdd908d24b59d9f88a4c2e785e482..4e17351e2616444ce831c94e81dec017ba9a2a0f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,10 +5,8 @@ default:
       - .pip-cache/
   before_script:
     - python3 --version
-    - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
-    - python3 get-pip.py
-    - pip install --upgrade pip
-    - pip install build twine
+    - python3 -m pip install --upgrade pip
+    - python3 -m pip install build twine
 
 stages:
   - build