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
7
.github/workflows/build_deploy_dev.yml
vendored
7
.github/workflows/build_deploy_dev.yml
vendored
|
@ -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
|
|
||||||
|
|
||||||
|
|
8
pom.xml
8
pom.xml
|
@ -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>
|
||||||
|
|
Reference in a new issue