Skip to content

Commit 9880924

Browse files
Add maven build step to builder-api build pipeline
1 parent b93637f commit 9880924

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/deploy-builder-api.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,16 @@ jobs:
7575
password: '${{ steps.auth.outputs.auth_token }}'
7676
registry: '${{ env.REGION }}-docker.pkg.dev'
7777

78+
79+
# Build the Quarkus app with Maven
80+
- name: 'Build Quarkus App'
81+
working-directory: builder-api
82+
run: |
83+
./mvnw package -DskipTests
84+
7885
- name: 'Build and Push Container'
86+
working-directory: builder-api
7987
run: |-
80-
cd "${{ env.API_NAME }}"
8188
DOCKER_TAG="${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.SERVICE }}/${{ env.API_NAME }}:latest"
8289
docker build -f src/main/docker/Dockerfile.jvm --tag "${DOCKER_TAG}" .
8390
docker push "${DOCKER_TAG}"

builder-api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This project uses Quarkus, the Supersonic Subatomic Java Framework.
44

55
If you want to learn more about Quarkus, please visit its website: <https://quarkus.io/>.
66

7+
78
## Running the application in dev mode
89

910
You can run your application in dev mode that enables live coding using:

0 commit comments

Comments
 (0)