Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
upgrade to java 21 in build and dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Parisa68 committed Feb 15, 2024
1 parent d35ef93 commit 359c6fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'zulu'
cache: maven

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM maven:3.9.2-eclipse-temurin-17-alpine as builder
FROM maven:3.9.2-eclipse-temurin-21-alpine as builder

COPY pom.xml .

Expand All @@ -13,7 +13,7 @@ COPY src/ /src/

RUN mvn clean install -DskipTests --no-transfer-progress

FROM eclipse-temurin:17-jre-alpine
FROM eclipse-temurin:21-jre-alpine

RUN apk add --no-cache ca-certificates

Expand Down

0 comments on commit 359c6fd

Please sign in to comment.