Jib automatically selects the correct base image for Java 8,11 and 17 but not 21.
Expected behavior:
Jib should automatically select eclipse-temurin:21-jre when Java 21 is detected.
Steps to reproduce:
Switch maven-compiler-plugin to use Java 21
Run a build with Jib
See error message "Your project is using Java 21 but the base image is for Java 17, perhaps you should configure a Java 21-compatible base image using the '' parameter, or set maven-compiler-plugin's '' or '' version to 17 or below in your build configuration: IncompatibleBaseImageJavaVersionException"
Environment:
Description of the issue:
Jib automatically selects the correct base image for Java 8,11 and 17 but not 21.
Expected behavior:
Jib should automatically select
eclipse-temurin:21-jre
when Java 21 is detected.Steps to reproduce:
Log output: https://github.com/opentripplanner/OpenTripPlanner/actions/runs/6809930157/job/18517607512