File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ jobs:
65
65
name : integration-test-${{ matrix.version }}-result
66
66
path : /home/runner/work/**/build/reports
67
67
retention-days : 2
68
- publish :
68
+ publish-docker-images :
69
69
needs : [ test, integration-test ]
70
70
runs-on : ubuntu-latest
71
- if : ${{ startsWith(github.ref, 'refs/tags/v') }}
71
+ if : ${{ startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/tags/v') }}
72
72
steps :
73
73
- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
74
74
- name : Set up JDK 17
94
94
with :
95
95
cache-read-only : false
96
96
arguments : :2repository:pushDockerImage -PincludeCommunity=false
97
+ publish-maven-images :
98
+ needs : [ test, integration-test ]
99
+ runs-on : ubuntu-latest
100
+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
101
+ steps :
102
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
103
+ - name : Set up JDK 17
104
+ uses : actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3
105
+ with :
106
+ distribution : ' temurin'
107
+ java-version : ' 17'
97
108
- name : Publish tomcat base jars
98
109
env :
99
110
ORG_GRADLE_PROJECT_signingKey : ${{ secrets.MAVEN_CENTRAL_GPG_KEY }}
You can’t perform that action at this time.
0 commit comments