Ultimate access to all questions.
Your company has recently migrated all its infrastructure to Google Cloud Platform (GCP) and intends to use Google Cloud Build for building all container images. The requirements include storing build logs in Google Cloud Storage and pushing the images to Google Container Registry. Given the following cloud build YAML configuration file:
steps:
- name: ‘gcr.io/cloud-builders/docker’
args: [‘build’, ‘-t’, ‘gcr.io/[PROJECT_ID]/[IMAGE_NAME]’, ‘.’]
images: [‘gcr.io/[PROJECT_ID]/[IMAGE_NAME]’]
How should you execute Cloud Build to meet these requirements?