File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ jobs:
6565 name : integration-test-${{ matrix.version }}-result
6666 path : /home/runner/work/**/build/reports
6767 retention-days : 2
68- publish :
68+ publish-docker-images :
6969 needs : [ test, integration-test ]
7070 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') }}
7272 steps :
7373 - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
7474 - name : Set up JDK 17
9494 with :
9595 cache-read-only : false
9696 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'
97108 - name : Publish tomcat base jars
98109 env :
99110 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.MAVEN_CENTRAL_GPG_KEY }}
You can’t perform that action at this time.
0 commit comments