Skip to content

Commit 8a99b51

Browse files
author
Paul McCann
authored
Fix release workflow (#717)
upgrading actions to fix tags not being picked up
1 parent da515ce commit 8a99b51

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ jobs:
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

0 commit comments

Comments
 (0)