diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5f577a152c921d81814a44d3f9964c5fdd7ffca3..4e69d508d639fec7a95b9f6cf222b8380e9c105e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,13 +5,13 @@ stages:
     - deploy
 
 test:
-    image: openjdk:11
+    image: openjdk:17
     stage: test
     script:
         - ./gradlew --continue --console=plain --info runPluginVerifier
 
 jar:
-    image: openjdk:11
+    image: openjdk:17
     stage: jar
     script:
         - ./gradlew --continue --console=plain --info buildPlugin