I want to deploy the test branch of my existing repository named 'engine' using Google Cloud Run, but Cloud Run is not allowing the deployment because the repository is already deployed.
My question is this;
How do we proceed when we want to deploy different branches of a repository? And how can I do this with Google Cloud Run?
Deploying multiple services under the same name from the same repository is not supported by Cloud Run. Nonetheless, there are two ways to accomplish deploys from various branches:
Create a unique Cloud Run service for each branch (e.g., service-name-test).
Use Cloud Build with triggers to automatically deploy branch-specific container images to a single Cloud Run service.
Documentation Reference: