Skip to content
Masaki Komagata edited this page Jun 22, 2020 · 3 revisions

Macからのbuild。

% docker build -t gcr.io/jobs-281105/jobs .
% docker push gcr.io/jobs-281105/jobs
% gcloud run deploy jobs \
--image gcr.io/jobs-281105/jobs \
--add-cloudsql-instances jobs-281105:asia-northeast1:jobs \
--platform managed \
--memory 512M \
--update-env-vars " \
INSTANCE_CONNECTION_NAME=jobs-281105:asia-northeast1:jobs \
RAILS_LOG_TO_STDOUT=true \
"
Clone this wiki locally