Use --platform=managed for publish cloudrun, closes #587

This commit is contained in:
Simon Willison 2019-10-17 14:51:45 -07:00
commit e5308c1ec2
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ def test_publish_cloudrun(mock_call, mock_output, mock_which):
[
mock.call("gcloud builds submit --tag {}".format(tag), shell=True),
mock.call(
"gcloud beta run deploy --allow-unauthenticated --image {}".format(
"gcloud beta run deploy --allow-unauthenticated --platform=managed --image {}".format(
tag
),
shell=True,