Google
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #147
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 r
The correct answer is C. Use Cloud Build to include the release version tag in the application image.. Cloud Build provides the following default substitutions: $TAG_NAME: build.Source.RepoSource.Revision.TagName
Submitted by yuriko_h· Apr 18, 2026Building and implementing CI/CD pipelines for a service
Question
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?
Options
- 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.
- DUse GCR digest versioning to match the image to the tag in source control.
How the community answered
(37 responses)- A3% (1)
- B16% (6)
- C73% (27)
- D8% (3)
Explanation
Cloud Build provides the following default substitutions: $TAG_NAME: build.Source.RepoSource.Revision.TagName
Topics
#Cloud Build#Google Container Registry#Image Tagging#CI/CD
Community Discussion
No community discussion yet for this question.