News for hackers. Stuff that matters.
Re:Ask HN: Where to deploy a Docker container easily? by thiht on Thursday April 21, 2022 @05:53PM (#31115645)
I finally settled on this but it wasn’t easy either.

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.

Re:Ask HN: Where to deploy a Docker container easily? by nreece on Thursday April 21, 2022 @10:50PM (#31117683)
It's usually just one command:

  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