downgraded to java 21
Some checks failed
build and publish docker image / deploy / build (push) Failing after 1m29s

This commit is contained in:
hirst 2024-05-31 09:33:14 +02:00
parent 0bee37ed09
commit 784487e3a0
2 changed files with 8 additions and 9 deletions

View file

@ -39,6 +39,9 @@ jobs:
with:
maven-version: 3.9.6
- name: Build with Maven
run: mvn -Dtoken=${{ secrets.token }} clean compile jib:build -e
- name: Cache local Maven repository
uses: https://github.com/actions/cache/save@v4
id: maven-cache-save
@ -46,8 +49,4 @@ jobs:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven
- name: Build with Maven
run: mvn -Dtoken=${{ secrets.token }} clean package jib:build
${{ runner.os }}-maven

View file

@ -20,9 +20,9 @@
<module>dummy</module>
</modules>
<properties>
<java.version>22</java.version>
<maven.compiler.source>22</maven.compiler.source>
<maven.compiler.target>22</maven.compiler.target>
<java.version>21</java.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<spring-cloud.version>2023.0.1</spring-cloud.version>
</properties>
<dependencies>
@ -73,7 +73,7 @@
<version>3.4.2</version>
<configuration>
<from>
<image>eclipse-temurin:22-jre</image>
<image>eclipse-temurin:21-jre</image>
<!-- <auth>
<username>${dockerusername}</username>
<password>${dockerpassword}</password>