Topic 1 Question 21
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?
Reference the image digest in the source control tag.
Supply the source control tag as a parameter within the image name.
Use Cloud Build to include the release version tag in the application image.
Use GCR digest versioning to match the image to the tag in source control.
ユーザの投票
コメント(11)
Ans C Cloud Build provides the following default substitutions: $TAG_NAME: build.Source.RepoSource.Revision.TagName
👍 20francisco_guerra2021/06/26C inside cloudbuil.yml file can include release version
👍 5devopsbatch2021/06/02C. tag your images with the sourced code release version.
👍 3guruguru2021/06/24
シャッフルモード