From 0691e36adf39731ca2973c3826351253615cbdb1 Mon Sep 17 00:00:00 2001 From: Ngure Nyaga Date: Wed, 14 Jul 2021 14:16:14 +0300 Subject: [PATCH] fix: replace secrets with every Cloud Build deployment --- README.md | 6 ++---- cloudbuild.yaml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bd1abc4b..c4e56a42 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,5 @@ your browser and go to ``http://127.0.0.1:8025`` Deployment ---------- -This application can be deployed via: - -* Heroku: -* Docker Compose: +This application is deployed via Google Cloud Build ( ) to Google Cloud Run ( ). +There's a `cloudbuild.yaml` file in the home folder. Secrets (e.g production settings) are managed with Google Secret Manager ( ). diff --git a/cloudbuild.yaml b/cloudbuild.yaml index d7fb84b6..9dbbae37 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -31,7 +31,7 @@ steps: '--max-instances', '4', '--memory', '256M', '--cpu', '1', - '--update-secrets', '/tmp/secrets/.env=mle_django_settings:latest' + '--set-secrets', '/tmp/secrets/.env=mle_django_settings:latest' ] images: