Skip to content

Commit

Permalink
Update JDK to Temurin 21
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Nov 4, 2024
1 parent e80668d commit 0681604
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
fetch-depth: 0 # checkout tags so version in Manifest is set properly
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
java-version: 21
- name: Maven Install Dependencies
run: ./mvnw install -B -V -DskipTests -Dair.check.skip-all -P docker-images
- name: Maven Test
Expand Down
2 changes: 1 addition & 1 deletion benchto-service/src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM amazoncorretto:17
FROM eclipse-temurin:21.0.5_11-jre-ubi9-minimal
VOLUME /tmp
ADD /maven/benchto-service-${project.version}.jar benchto-service.jar
RUN bash -c 'touch /benchto-service.jar'
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
</distributionManagement>

<properties>
<java.version>17</java.version>
<project.build.targetJdk>17</project.build.targetJdk>
<java.version>21</java.version>
<project.build.targetJdk>21</project.build.targetJdk>

<encoding>UTF-8</encoding>

Expand Down

0 comments on commit 0681604

Please sign in to comment.