Add build docker image.

This commit is contained in:
Paulo Gustavo Veiga
2024-03-24 11:13:31 -07:00
parent 8ca83bfdad
commit efc3cd5753
2 changed files with 5 additions and 6 deletions

View File

@@ -16,9 +16,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
@@ -29,6 +27,8 @@ jobs:
cache: maven
- name: Build with Maven
run: mvn -B clean package --file wise-api/pom.xml -DskipTests
- name: Build the Docker image
run: docker build wise-api/ --file Dockerfile -t wisemapping/wisemapping-api:latest
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
#- name: Update dependency graph