Last active
February 27, 2020 15:23
-
-
Save ludoch/1b5bc31cbfebd231a42482e52cf7038e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirements: pack and Cloud SDK installed and configured for a given project | |
# Got to a Maven source directory containing a pom.xml | |
# We will create and public for this example the image tagged gcr.io/openjdk11/fromgae | |
pack build --publish gcr.io/openjdk11/fromgae --builder gcr.io/gae-runtimes/buildpacks/java11/builder:argo_current --run-image gcr.io/gae-runtimes/buildpacks/java11/run:java11_20200217_11_0_RC00 | |
# Deploy a Cloud run from the new image gcr.io/openjdk11/fromgae which is now in gcr repo | |
gcloud run deploy my-backend --image=gcr.io/openjdk11/fromgae |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment