Skip to content

Commit 5fa5b45

Browse files
committed
Add build step to alarm-server Docker workflow
1 parent 2349314 commit 5fa5b45

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/alarm-server-docker-image.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ env:
1212
IMAGE_NAME: ${{ github.repository }}/service-alarm-server
1313

1414
jobs:
15+
build-server:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Setup Maven and Java Action
20+
21+
with:
22+
java-version: '17'
23+
maven-version: '3.9.6'
24+
- name: Build
25+
run: mvn --batch-mode install -DskipTests
1526
build-and-push-image:
1627
permissions:
1728
contents: read

0 commit comments

Comments
 (0)