-
Enable Cloud Source Repository API & create a new repository by giving meaningful repo name and choosing Project ID on which you are going to Work
-
Next step, Add code to your repository by following below commands on CloudShell.
-
Enable Artifact Registry API and create a repository of format Docker which will stores your docker images.
-
Enable Cloud Run API & Cloud Build API
-
Go to Cloud Build --> Click Settings first & then First enable Cloud Run, this will create a service account which will have Cloud Run Admin role which will help cloud build to create and deploy an application to Cloud Run.
-
Create a trigger and click on RUN to start the build process.