I had to create:
- an artifact repository and a Docker repository, because cloud run refuses to run images from a different repository
- a service account (in a completely different section)
- add the correct role on the account, in yet another section
- retrieve the password, the username and url of the Docker repo (I had to read blog articles to find these)
- and then finally push my image.
Configuring the container was easy after that, but I haven’t found yet how to configure continuous deployment from my CI pipeline. I guess I’ll have to use the gcp cli but it doesn’t seem obvious how to do it.
gcloud run deploy
See 'Deploying to Cloud Run from source': https://cloud.google.com/run/docs/quickstarts/build-and-depl...I also like deploying to Cloud Run right from Cloud Shell Editor (their web IDE, viz like VS Code in the browser): https://shell.cloud.google.com
An API we migrated handles millions of transactions, and costs less than $3/month to run, even cheaper than their Cloud Functions product.