diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f22604bd27b21d3a7cd91659425b190c89a3c2a2..f107804cc0fdf2665fd720e0c0de434f83fe5e38 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,7 +32,7 @@ build-openapi-scheme:
       - $OPENAPI_JSON
 check-style:
   stage: check
-  image: python:3.11-slim
+  image: python:3.12-slim
   before_script:
     # we do this, because YAML anchors are not supported when executing locally
     - python3 -m pip install --upgrade pip
@@ -44,7 +44,7 @@ check-style:
     - poetry run black --check --quiet program steering
 run_test_cases:
   stage: test
-  image: python:3.11-slim
+  image: python:3.12-slim
   before_script:
     # we do this, because YAML anchors are not supported when executing locally
     - apt-get -qq update