Skip to content

Commit

Permalink
build: use Java 17 in GitHub actions and Docker base image
Browse files Browse the repository at this point in the history
  • Loading branch information
fxjordan committed Sep 27, 2022
1 parent b9787de commit eee1c06
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 14
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 14
java-version: 17
- name: Build release bundle with Gradle
run: ./gradlew export -x test #-Pservice.version=${{ steps.get_version.outputs.version-without-v }}
- name: Docker metadata setup
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 14
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 14
java-version: 17
- name: Build with Gradle
run: ./gradlew clean build --info
- uses: codecov/codecov-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
- name: Get Version
id: get_version
uses: battila7/get-version-action@v2
- name: Set up JDK 14
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 14
java-version: 17
- name: Build release bundle with Gradle
run: ./gradlew packageDistribution -x test -Pservice.version=${{ steps.get_version.outputs.version-without-v }}
- name: Create Release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
- name: Get Version
id: get_version
uses: battila7/get-version-action@v2
- name: Set up JDK 14
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 14
java-version: 17
- name: Build release bundle with Gradle
run: ./gradlew packageDistribution -x test -Pservice.version=${{ steps.get_version.outputs.version-without-v }}
- name: Create Release
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build final container without build dependencies etc.
FROM openjdk:14-jdk-alpine
FROM openjdk:17-jdk-alpine

ENV HTTP_PORT=8080
ENV HTTPS_PORT=8443
Expand Down

0 comments on commit eee1c06

Please sign in to comment.