File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ name: 'Build and Deploy Builder API to Cloud Run'
66on :
77 push :
88 branches :
9- # - 157-offline-dev
10- - main
9+ - 157-offline-dev
1110 paths :
1211 - ' builder-api/**'
1312 - ' devbox.json'
@@ -47,19 +46,16 @@ jobs:
4746 service_account : cicd-build-deploy-api@benefit-decision-toolkit-play.iam.gserviceaccount.com
4847 project_id : ${{ env.PROJECT_ID }}
4948
50- - name : ' Set up Cloud SDK'
51- uses : ' google-github-actions/setup-gcloud@v2'
52-
53- # Configure Docker to use gcloud as a credential helper
49+ # Configure Docker to use gcloud as a credential helper (using devbox gcloud)
5450 - name : ' Configure Docker'
5551 run : |
56- gcloud auth configure-docker ${{ env.REGION }}-docker.pkg.dev
52+ devbox run -- gcloud auth configure-docker ${{ env.REGION }}-docker.pkg.dev
5753
5854 # Build the Quarkus app with Maven using devbox environment
5955 - name : ' Build Quarkus App'
6056 working-directory : builder-api
6157 run : |
62- devbox run -- ./mvnw package -DskipTests
58+ devbox run -- quarkus build --no-tests
6359
6460 - name : ' Build and Push Container'
6561 working-directory : builder-api
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Testing with devbox
33on :
44 push :
55 branches :
6- - 157-offline-dev
6+ - foo
77
88permissions :
99 id-token : write
You can’t perform that action at this time.
0 commit comments