diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 70c179f15b71d5c8db76ee394bf33c16dc636dcf..ffc53ba27847925432cbf0547391d010e6af4375 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -136,7 +136,7 @@ pypi-publication:
     - twine upload dist/* -r pypi
 
 .docs:
-  image: python:3
+  image: python:3.10
   artifacts:
     paths:
       - public