diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1e97de20362f131138bc0284e01cd1edf4f7d46a..e761239ff780fa2e9f96e2d2f8f4196089daeb52 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-19
+image: maven:3-jdk-18
 
 stages:          # List of stages for jobs, and their order of execution
   - build