This page explains how to view information about your Container Builder builds in Container Registry using the Google Cloud Platform Console.
In the Cloud Platform Console, the Build History menu can show you information about a build's status (such as success or failure), source, results, create time, images, and more.
To view the Build History menu:
- Go to the Google Cloud Platform Console.
- Open the console left-side menu, hover your cursor over Container Registry, and select Build History.
The Build History menu displays a list of recent builds.
To find information for builds that fit specific criteria, supply a query string
in the Filter Builds field. For example, you can query for builds that have
failed (that have a
FAILURE value in the status field), builds that were
created after a certain time, tagged builds, and other such conditions.
Supported Fields for Queries
You can query for builds based on the values of the following fields:
status build_id trigger_id source.storage_source.bucket source.storage_source.object source.repo_source.repo_name source.repo_source.branch_name source.repo_source.tag_name source.repo_source.commit_sha source_provenance.resolved_repo_source.commit_sha results.images.name results.images.digest options.requested_verify_option tags images create_time start_time finish_time
Fields listed with dot notation (
.) are subfields.
Constructing a Query String
Query strings use the general form:
Use dot notation to specify a subfield, such as
!= comparison operators, as well as
<= for fields that have numeric values (such as
You can create compound queries by using the boolean
Common Example Queries
To query for all successful builds:
To query for all builds that have yet to finish:
status="QUEUED" OR status="WORKING"
To query for builds with a given result image name:
(status="SUCCESS" OR status="FAILURE") AND results.images.name="gcr.io/argo-integration-testing/stubby-probe"
To query for all builds with the tag
To query for builds marked as verified:
To query for builds that come from a source in Cloud Storage (as opposed to a Cloud Source Repository):
To query for builds with a given result digest:
To query for builds started after a specific time and finished before a specific time (UTC timezone):
create_time>"2016-10-12T18:43:49" AND finish_time<"2016-10-13T18:43:49"