Skip to content

Commit

Permalink
Upgraded Spring Boot to 3.2.6
Browse files Browse the repository at this point in the history
Upgraded Java to 22 in pom.xml, maven.yml (GitHub build action), and in the Dockerfile
  • Loading branch information
tedyoung committed Oct 29, 2024
1 parent 8beed41 commit 97dbcc8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 .
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.5</version>
<version>3.2.6</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.jitterted</groupId>
Expand All @@ -14,7 +14,7 @@
<name>ensembler</name>
<description>Ensemble Registration Manager</description>
<properties>
<java.version>21</java.version>
<java.version>22</java.version>
</properties>
<dependencies>
<dependency>
Expand Down

0 comments on commit 97dbcc8

Please sign in to comment.