1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-21 14:38:29 +00:00

Now using Cloud Run, add deploy script

This commit is contained in:
Jason Hall 2019-04-09 16:53:05 -04:00
parent 3563c02579
commit c1447b830a
4 changed files with 19 additions and 4 deletions

12
deploy.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# Deploy backend
KO_DOCKER_REPO=gcr.io/kontainme ko publish -P . && \
gcloud --project=kontainme beta run deploy app \
--image=gcr.io/kontainme/github.com/imjasonh/kontain.me \
--memory=2Gi \
--concurrency=1 \
--region=us-central1
# Deploy forwarding frontend
gcloud --project=kontainme app deploy -q fwd/