Manually deploy to Cloud Run – Update for Artifact Registry

HomeOther ContentManually deploy to Cloud Run – Update for Artifact Registry
Manually deploy to Cloud Run – Update for Artifact Registry
Manually deploy to Cloud Run – Update for Artifact Registry
In this video I show how to manually deploy a Docker image to Cloud Run using Artifact Registry. This is an updated video, I previously made one that used Container Registry, but Google has since suggested using Artifact Registry.

I show how to create the image repository in Artifact Registry, how to create the image, how to authenticate Docker with Artifact Registry, tag the image, push the image to Artifact Registry, and how to deploy a Cloud Run review using this image.

I also show how to image a different CPU chip than the one you are developing on. In my case I'm using a Mac M1 (ARM chip), so I need to create the image for a Linux AMD64 chip.

I also have a bonus tip for dotnet developers on ARM Mac having issues building for a different platform.

Reference documents :
https://cloud.google.com/artifact-registry/docs/docker

Docker docs for building for another platform:
https://docs.docker.com/build/building/multi-platform/

Microsoft example for docker dotnet.
https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/Dockerfile

Follow me on social media!
Instagram: https://www.instagram.com/scriptbytes/
Topics: https://www.threads.net/@scriptbytes

Check out my blog!
https://scriptbytes.io/

Please take the opportunity to connect and share this video with your friends and family if you find it useful.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *