Exam4Training

What should you do when you push the image?

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?
A . Reference the image digest in the source control tag.
B . Supply the source control tag as a parameter within the image name.
C . Use Cloud Build to include the release version tag in the application image.
D . Use GCR digest versioning to match the image to the tag in source control.

Answer: B

Explanation:

https://cloud.google.com/container-registry/docs/pushing-and-pulling

Exit mobile version