Skip to content

Commit

Permalink
Use java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes committed Nov 6, 2024
1 parent caa8ea6 commit f24d294
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@ jobs:
exit 1
if: github.event_name != 'workflow_dispatch' && steps.versioncheck.outputs.version != github.ref_name

- name: Set up JDK 8 for snapshots
- name: Set up JDK 11 for snapshots
uses: actions/setup-java@v4
with:
java-version: "8"
java-version: "11"
distribution: "temurin"
cache: "maven"
server-id: openconext-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
if: ( endsWith(steps.versioncheck.outputs.version, '-SNAPSHOT'))

- name: Set up JDK 8 for releases
- name: Set up JDK 11 for releases
uses: actions/setup-java@v4
with:
java-version: "8"
java-version: "11"
distribution: "temurin"
cache: "maven"
server-id: openconext-releases
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:8-jdk-alpine
FROM eclipse-temurin:11-jdk-alpine
RUN apk --update upgrade && apk add openssl openssl-dev ca-certificates libgcc && update-ca-certificates
COPY target/*.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<name>inteken-ontvanger-generiek</name>
<description>inteken-ontvanger-generiek</description>
<properties>
<java.version>1.8</java.version>
<java.version>11</java.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -166,7 +166,7 @@
<configuration>
<rules>
<requireJavaVersion>
<version>[1.8.0-0,1.8.0-500]</version>
<version>[11.0.0,11.0.24]</version>
</requireJavaVersion>
</rules>
</configuration>
Expand Down

0 comments on commit f24d294

Please sign in to comment.