Skip to content

Commit

Permalink
gcloud beta run deploy arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Tissot <tissotjobin@gmail.com>
  • Loading branch information
SamuelTissot committed Oct 1, 2019
1 parent 51e1971 commit bcfe1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
appversion=$(echo $CIRCLE_SHA1 | cut -c1-7) || appversion=$(echo $CIRCLE_TAG | tr . -)
gcloud auth activate-service-account circleci-wlio@worldlocation-io.iam.gserviceaccount.com --key-file=${HOME}/gcloud-service-key.json
gcloud config set compute/zone $GCLOUD_PROJECT_REGION
gcloud beta run --image gcr.io/${GCLOUD_PROJECT_ID}/worldlocations:${appversion}
gcloud beta run deploy --image gcr.io/${GCLOUD_PROJECT_ID}/worldlocations:${appversion} --memory 128M --update-env-vars GO_ENV=production
# ----------------------------------
Expand Down

0 comments on commit bcfe1bc

Please sign in to comment.