CI/CD pipeline for Cloud Run
Simple express web server container that is build using Cloud Build then deployed to Cloud Run when a push is made into the repo.
- In Cloud Build > Settings, Check Cloud Run status to ENABLED
- Specify the event to trigger the image build, eg: push to branch
- In "Source" specify where is the app repo. Better if you use a Cloud Source Repositories.
- In "Advanced" > "Add Variable" called
_SERVICE_NAME
with the name you want for the image.