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:
parent
3563c02579
commit
c1447b830a
4 changed files with 19 additions and 4 deletions
12
deploy.sh
Executable file
12
deploy.sh
Executable 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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue