diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e761239ff780fa2e9f96e2d2f8f4196089daeb52..0a390650e75579bae64b4660204768e8ec0ee96c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@
 # This specific template is located at:
 # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
 
-image: maven:3-jdk-18
+image: maven:3.8-openjdk-18
 
 stages:          # List of stages for jobs, and their order of execution
   - build