File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ for more details on connecting a Cloud Run service to Cloud SQL.
73731 . Build the container image using [ Jib] ( https://cloud.google.com/java/getting-started/jib ) :
7474
7575 ``` sh
76- mvn compile com.google.cloud.tools:jib-maven-plugin:2.7 .0:build \
77- -Dimage=gcr.io/[YOUR_PROJECT_ID]/run-mysql
76+ mvn clean package com.google.cloud.tools:jib-maven-plugin:2.8 .0:build \
77+ -Dimage=gcr.io/[YOUR_PROJECT_ID]/run-mysql -DskipTests
7878 ```
7979
80802 . Deploy the service to Cloud Run:
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ for more details on connecting a Cloud Run service to Cloud SQL.
73731 . Build the container image using [ Jib] ( https://cloud.google.com/java/getting-started/jib ) :
7474
7575 ``` sh
76- mvn compile com.google.cloud.tools:jib-maven-plugin:2.7 .0:build \
77- -Dimage=gcr.io/[YOUR_PROJECT_ID]/run-postgres
76+ mvn clean package com.google.cloud.tools:jib-maven-plugin:2.8 .0:build \
77+ -Dimage=gcr.io/[YOUR_PROJECT_ID]/run-postgres -DskipTests
7878 ```
7979
80802 . Deploy the service to Cloud Run:
Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ for more details on connecting a Cloud Run service to Cloud SQL.
76761. Build the container image and push it to Google Container Registry (GCR):
7777
7878 ` ` ` sh
79- mvn compile com.google.cloud.tools:jib-maven-plugin:2.5.2 :build \
80- -Dimage=gcr.io/$PROJECT_ID /r2dbc-sample
79+ mvn clean package com.google.cloud.tools:jib-maven-plugin:2.8.0 :build \
80+ -Dimage=gcr.io/[YOUR_PROJECT_ID] /r2dbc-sample -DskipTests
8181 ` ` `
8282
83831. Deploy the service to Cloud Run:
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ for more details on connecting a Cloud Run service to Cloud SQL.
77771 . Build the container image using [ Jib] ( https://cloud.google.com/java/getting-started/jib ) :
7878
7979 ``` sh
80- mvn compile com.google.cloud.tools:jib-maven-plugin:2.7 .0:build \
81- -Dimage=gcr.io/[YOUR_PROJECT_ID]/run-sqlserver
80+ mvn clean package com.google.cloud.tools:jib-maven-plugin:2.8 .0:build \
81+ -Dimage=gcr.io/[YOUR_PROJECT_ID]/run-sqlserver -DskipTests
8282 ```
8383
84842 . Deploy the service to Cloud Run:
You can’t perform that action at this time.
0 commit comments