A critical step in developing an app to deploy in Cloud Run is to containerize the files and store the resulting disk image in an accessible location. In this hands-on lab, you’ll use Cloud Shell to initiate the Cloud Build process that will create a containerized disk image of your working files and store them in Google Cloud Container Registry.
Successfully complete this lab by achieving the following learning objectives:
- Retrieve and Activate Working Files
In Cloud Shell, clone the desired GitHub repo, and run the
- Containerize and Store the New Disk Image
Use the appropriate
gcloudcommand invoking Cloud Build to containerize the web app and then store the resulting disk image in Container Registry.
- Verify the Build
Review the Cloud Build history to confirm the specified process was followed and check Container Registry for the transferred disk image.