Created
January 19, 2020 20:56
-
-
Save rzymek/a639a68781b65f09fe09253e6c63325c to your computer and use it in GitHub Desktop.
gcloud run docker
This file contains hidden or 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
#!/bin/bash | |
set -eu | |
cd `dirname $0` | |
docker build . -t gcr.io/sandbox-p/spring | |
docker push gcr.io/sandbox-p/spring | |
gcloud run deploy spring \ | |
--image=gcr.io/sandbox-p/spring \ | |
--platform managed \ | |
--region europe-west1 \ | |
--allow-unauthenticated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment