diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4ede93de65e894d3f0c05b7e2046032ca2311905..007582e08a16e0b7f2268a8dbf0ec253e239bae6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,7 +33,7 @@ stages:
 
 .quality-template: &quality
   <<: *install-deps
-  image: python:3.9
+  image: python:3.9-slim-bullseye
   stage: quality
   allow_failure: true
 
@@ -52,24 +52,20 @@ run-pre-commit:
 
 python3.9:
   <<: *test
-  image: python:3.9
+  image: python:3.9-slim-bullseye
 
 python3.10:
   <<: *test
-  image: python:3.10
-
-python3.11:
-  <<: *test
-  image: python:3.11
+  image: python:3.10-slim-bullseye
 
 # Publish jobs
 
 publish:
   <<: *install-deps
   stage: publish
-  image: python:3.10
+  image: python:3.10-slim-bullseye
   only:
     - /^v(\d+\.)(\d+\.)(\d+)$/
   script:
     - make build
-    - poetry publish -username=__token__ --password=$PYPI_TOKEN
\ No newline at end of file
+    - poetry publish -username=__token__ --password=$PYPI_TOKEN