This repository shows how to run a Service Weaver application on Cloud Run. First, create a Docker container and upload it to Artifact Registry according to these instructions.
$ docker build -t REGION-docker.pkg.dev/PROJECT_ID/REPO_NAME/PATH:TAG .
$ docker push REGION-docker.pkg.dev/PROJECT_ID/REPO_NAME/PATH:TAGThen, deploy the container to Cloud Run using gcloud run deploy:
$ gcloud run deploy NAME --image=REGION-docker.pkg.dev/PROJECT_ID/REPO_NAME/PATH:TAG --region=REGION --allow-unauthenticatedThis command should print out a URL that you can use to access the service. Alternatively, you can curl the service from the command line:
$ curl -H "Authorization: Bearer $(gcloud auth print-identity-token)" URL