Skip to content

Commit

Permalink
migrate from openjdk base image to eclipse-temurin (#3449)
Browse files Browse the repository at this point in the history
* migrate from openjdk base image to eclipse-temurin

https://hub.docker.com/_/openjdk has been deprecated for some time and will no longer get security updates

* Update publish.yml

* Update release-filament.yml
  • Loading branch information
gdams authored Dec 23, 2022
1 parent 9cf8b97 commit b834c10
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
java: [17-jdk, 18-jdk]
runs-on: ubuntu-22.04
container:
image: openjdk:${{ matrix.java }}
image: eclipse-temurin:${{ matrix.java }}
options: --user root
steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +23,7 @@ jobs:
test-build-logic:
runs-on: ubuntu-22.04
container:
image: openjdk:18-jdk
image: eclipse-temurin:18-jdk
options: --user root
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
if: ${{ github.repository_owner == 'FabricMC' }}
runs-on: ubuntu-22.04
container:
image: openjdk:18-jdk
image: eclipse-temurin:18-jdk
options: --user root
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-filament.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ jobs:
build:
runs-on: ubuntu-22.04
container:
image: openjdk:18-jdk
image: eclipse-temurin:18-jdk
options: --user root
steps:
- uses: actions/checkout@v3
- run: ./gradlew :filament:build :filament:publish --stacktrace
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

0 comments on commit b834c10

Please sign in to comment.