diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dc8bef136ee54265e8d95c9cfba986b693ae29a7..75dbb8b1100e0061f65ef98bbae55e046dc3c094 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,9 @@
 # This file is a template, and might need editing before it works on your project.
 # Official docker image.
-image: docker:26.1.3
+image: docker:28.0.4
 
 services:
-  - docker:26.1.3-dind
+  - docker:28.0.4-dind
 
 .build-main:
   stage: build