Automate Deployments to GCP ☁️ Cloud Run 🏃 with GitHub Actions

preview_player
Показать описание
A video showing how to set up CICD for deploying dockerized applications to Google Cloud Run using GitHub Actions

00:00 Intro
00:32 1. Create a Service Account
01:16 2. Add creds to GitHub
01:53 3. Create GitHub Action
03:00 4. Test the GitHub Action
03:45 5. Final end-2-end test

#google #gcp #fastapi #docker #gcr #git #software #engineering #tutorial #health #wealth #blessings #love #peace #growth #python #microsoft #devcontainer #devcontainers #dev #container #gcloud #clouds #cloudengineer #cloudengineering
Рекомендации по теме
Комментарии
Автор


In this article, Ivan shows a simple technique for passing ENV vars/secrets to Cloud Run containers in CICD.

🔥

cmd_labs
Автор

My man don't even care his key got public because he understands

supersanta
Автор

Beautiful video. I was following the official method through the gcp yt vid and the cloud run gh action but it was convoluted and didn't talk about how to set the permissions. I tried getting my gha ction authenticated through their recommended federated identity method but it didn't work. Your service account key method is much simpler to configure.

I found your vid and after 3 hours, got my deployment working. Thank you sir! Btw at the very end, "--platform" is a nonexistent argument and the gh action throws an error about it.

skyhappy
Автор

Very nice. I only wish you addressed one the trickiest parts that may arise in that process: passing the JSON (through a secret) of another service account to the container through the --set-env-vars property.

IvanPopov
Автор

thank you and have a doubt do we need to use docker or it just works without it ?

rajivreddy