In this video I show how to manually deploy a Docker image to Cloud Run using Artifact Registry. This is an updated video, I did one previously that used Container Registry, but Google has since suggested to use Artifact Registry.
I show how to create the image repository in Artifact Registry, how to build 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 revision using that image.
I also show how to build the image for a different CPU chip than the one you are developing on. In my case, I am using an M1 Mac (ARM chip), so I have to build the image for a linux AMD64 chip.
I also have a bonus tip for dotnet developers on ARM Mac's having issues building for a different platform.
Docs for reference:
https://cloud.google.com/artifact-reg...
Docker docs for building for another platform:
https://docs.docker.com/build/buildin...
Example from Microsoft for dotnet dockerfile.
https://github.com/dotnet/dotnet-dock...
Follow me on social media!
Instagram: / scriptbytes
Threads: https://www.threads.net/@scriptbytes
Check out my blog!
https://scriptbytes.io/
Смотрите видео Manually Deploy to Cloud Run - Updated for Artifact Registry онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь ScriptBytes 13 Ноябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,837 раз и оно понравилось 226 людям.