Skip to content

Commit e061afb

Browse files
committed
move build step to action
1 parent a27bdfc commit e061afb

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/actions/docker-build-or-tag/action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ runs:
4646
- name: Set up Docker Buildx
4747
uses: docker/setup-buildx-action@v3
4848

49+
- name: Set up JDK 17
50+
uses: actions/setup-java@v3
51+
with:
52+
java-version: '17'
53+
distribution: 'corretto'
54+
cache: maven
55+
56+
- name: Build with Maven
57+
run: mvn clean package -DskipTests
58+
shell: bash
59+
4960
- name: Build and push
5061
uses: docker/build-push-action@v6
5162
with:

0 commit comments

Comments
 (0)