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: with:
maven-version: 3.9.6 maven-version: 3.9.6
- name: Build with Maven
run: mvn -Dtoken=${{ secrets.token }} clean compile jib:build -e
- name: Cache local Maven repository - name: Cache local Maven repository
uses: https://github.com/actions/cache/save@v4 uses: https://github.com/actions/cache/save@v4
id: maven-cache-save id: maven-cache-save
@ -47,7 +50,3 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
${{ runner.os }}-maven ${{ runner.os }}-maven
- name: Build with Maven
run: mvn -Dtoken=${{ secrets.token }} clean package jib:build

View file

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