We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fad766 commit 4c6529aCopy full SHA for 4c6529a
.github/workflows/docker-build-push.yml
@@ -11,6 +11,17 @@ jobs:
11
runs-on: ubuntu-latest
12
13
steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v2
16
+
17
+ - uses: AdoptOpenJDK/install-jdk@v1
18
+ with:
19
+ version: '16'
20
+ architecture: x64
21
22
+ - name: Build with Maven
23
+ run: ./mvnw clean package
24
25
- name: Docker meta
26
id: meta
27
uses: crazy-max/ghaction-docker-meta@v2
@@ -23,7 +34,7 @@ jobs:
34
type=ref,event=tag
35
36
- name: Login to DockerHub
- uses: docker/login-action@v1
37
+ uses: docker/login-action@v1
38
with:
28
39
username: ${{ secrets.DOCKER_HUB_USERNAME }}
29
40
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
@@ -34,4 +45,4 @@ jobs:
45
push: true
46
tags: ${{ steps.meta.outputs.tags }}
47
labels: ${{ steps.meta.outputs.labels }}
-
48
0 commit comments