Use service-specific image ID for Cloud Run deploys, refs #2036

This commit is contained in:
Simon Willison 2023-03-08 12:25:55 -08:00
commit bd39cb4805
2 changed files with 4 additions and 4 deletions

View file

@ -173,7 +173,7 @@ def publish_subcommand(publish):
print(fp.read())
print("\n====================\n")
image_id = f"gcr.io/{project}/{name}"
image_id = f"gcr.io/{project}/datasette-{service}"
check_call(
"gcloud builds submit --tag {}{}".format(
image_id, " --timeout {}".format(timeout) if timeout else ""