downgraded to java 21
Some checks failed
build and publish docker image / deploy / build (push) Failing after 1m29s
Some checks failed
build and publish docker image / deploy / build (push) Failing after 1m29s
This commit is contained in:
parent
0bee37ed09
commit
784487e3a0
9
.github/workflows/build_deploy_dev.yml
vendored
9
.github/workflows/build_deploy_dev.yml
vendored
|
@ -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
|
8
pom.xml
8
pom.xml
|
@ -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>
|
||||
|
|
Reference in a new issue