File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 2121 steps :
2222 - uses : actions/checkout@v2
2323 - name : Set up JDK 1.8
24- uses : actions/setup-java@v1 .0
24+ uses : actions/setup-java@v3.6 .0
2525 with :
26- java-version : 1.8
26+ distribution : ' zulu'
27+ java-version : ' 8'
2728 - name : Build Maven with Docker Profile and Generate SBOM
2829 run : mvn clean install -Pdocker -DskipTests -B -DexcludeTestProject=true cyclonedx:makeBom
2930 - name : Upload WAR File
@@ -79,11 +80,12 @@ jobs:
7980 uses : actions/checkout@v2
8081
8182 - name : Log in to Docker Hub
82- uses : docker/login-action@v1
83+ uses : docker/login-action@v2.1.0
8384 with :
8485 username : ${{ secrets.DOCKERHUB_USERNAME }}
8586 password : ${{ secrets.DOCKERHUB_TOKEN }}
8687
88+
8789 - name : Extract metadata (tags, labels) for Docker
8890 id : meta
8991 uses : docker/metadata-action@v4.1.1
@@ -106,7 +108,7 @@ jobs:
106108 env-file : .env
107109
108110 - name : Build and push Tomcat
109- uses : docker/build-push-action@v2
111+ uses : docker/build-push-action@v3.2.0
110112 with :
111113 context : .
112114 push : true
@@ -117,4 +119,4 @@ jobs:
117119 TLS_KEYSTORE_FILE
118120 TLS_KEYSTORE_PASS
119121 ALIAS
120- HTTPS_PORT
122+ HTTPS_PORT
You can’t perform that action at this time.
0 commit comments