diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 894a676be0372a1f7076e3815cf719926362f0f2..96be85102721f563365ece6e9072f3e2f1961e91 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,7 @@ default:
 
 build-package:
   stage: build
-  image: python:3
+  image: python:3.11
   before_script:
     - python -m pip install build --user
   script:
@@ -24,7 +24,7 @@ build-package:
 
 test:
   stage: test
-  image: python:3
+  image: python:3.11
   services:
     - name: redis
       variables:
@@ -46,7 +46,7 @@ test:
 
 release-package:
   stage: release
-  image: python:3
+  image: python:3.11
   before_script:
     - python -m pip install twine --user
   script: