diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 27f058b478d166a4da961710494434ae9fdbe458..aa20eac6a9079480b036f0ddb098837710309e1b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ Build Wheel:
     - legacy
   script:
     - pip install -r requirements.txt
-    - python build
+    - python -m build
 
 Push Wheel to Package Registry:
   image: python:3.9