From 97dbcc8d5ff52385606cc0dc581bc50acc5d0796 Mon Sep 17 00:00:00 2001 From: "Ted M. Young" Date: Tue, 29 Oct 2024 10:21:10 -0700 Subject: [PATCH] Upgraded Spring Boot to 3.2.6 Upgraded Java to 22 in pom.xml, maven.yml (GitHub build action), and in the Dockerfile --- .github/workflows/maven.yml | 4 ++-- Dockerfile | 4 ++-- pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index cf5d4497..15ddf1e4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -10,11 +10,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 21 + - name: Set up JDK 22 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '21' + java-version: '22' cache: 'maven' - name: Maven Verify (build and test) run: mvn --batch-mode --no-transfer-progress verify diff --git a/Dockerfile b/Dockerfile index efe3a881..7c18f080 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM eclipse-temurin:21-jdk as build +FROM eclipse-temurin:22-jdk as build COPY . /app WORKDIR /app RUN ./mvnw --no-transfer-progress clean package -DskipTests RUN mv -f target/*.jar app.jar -FROM eclipse-temurin:21-jre +FROM eclipse-temurin:22-jre ARG PORT ENV PORT=${PORT} COPY --from=build /app/app.jar . diff --git a/pom.xml b/pom.xml index 3dcb579c..617fa091 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.2.5 + 3.2.6 com.jitterted @@ -14,7 +14,7 @@ ensembler Ensemble Registration Manager - 21 + 22