Your application images are built using Cloud Build and pushed to Google Container Registry (GCR). You want to be able to specify a particular version of your application for deployment based on the release version tagged in source control. What should you do when you push the image?
- AReference the image digest in the source control tag.
- BSupply the source control tag as a parameter within the image name.
- CUse Cloud Build to include the release version tag in the application image. (correct answer)
- DUse GCR digest versioning to match the image to the tag in source control.
Reveal answer & explanationHide answer
The correct answer is C. Option C: Use Cloud Build to include the release version tag in the application image.
Explanation
Cloud Build runs managed CI pipelines to build, test, and package code.