steps Required. The operations to be performed on the workspace.
tags Tags for annotation of a `Build`. These are not docker tags.
.substitutions
images A list of images to be pushed upon the successful completion of all build
steps.
The images are pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the `Build` resource's
results field.
If any of the images fail to be pushed, the build status is marked
`FAILURE`.
.options
options.volumes Global list of volumes to mount for ALL build steps
Each volume is created as an empty volume prior to starting the build
process. Upon completion of the build, volumes and their contents are
discarded. Global volume names and paths cannot conflict with the volumes
defined a build step.
Using a global volume in a build with only one step is not valid as
it is indicative of a build request with an incorrect configuration.
options.env A list of global environment variable definitions that will exist for all
build steps in this build. If a variable is defined in both globally and in
a build step, the variable will use the build step value.
The elements are of the form "KEY=VALUE" for the environment variable "KEY"
being given the value "VALUE".
options.secretEnv A list of global environment variables, which are encrypted using a Cloud
Key Management Service crypto key. These values must be specified in the
build's `Secret`. These variables will be available to all build steps
in this build.
options.sourceProvenanceHash Requested hash for SourceProvenance.
.source
.source.storageSource
.source.repoSource
.artifacts
.artifacts.objects
artifacts.objects.paths Path globs used to match files in the build's workspace.
artifacts.images A list of images to be pushed upon the successful completion of all build
steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's
results field.
If any of the images fail to be pushed, the build is marked FAILURE.
secrets Secrets to decrypt using Cloud Key Management Service.
waitFor The ID(s) of the step(s) that this build step depends on.
This build step will not start until all the build steps in `wait_for`
have completed successfully. If `wait_for` is empty, this build step will
start when all previous build steps in the `Build.Steps` list have
completed successfully.
env A list of environment variable definitions to be used when running a step.
The elements are of the form "KEY=VALUE" for the environment variable "KEY"
being given the value "VALUE".
volumes List of volumes to mount into the build step.
Each volume is created as an empty volume prior to execution of the
build step. Upon completion of the build, volumes and their contents are
discarded.
Using a named volume in only one step is not valid as it is indicative
of a build request with an incorrect configuration.
args A list of arguments that will be presented to the step when it is started.
If the image used to run the step's container has an entrypoint, the `args`
are used as arguments to that entrypoint. If the image does not define
an entrypoint, the first element in args is used as the entrypoint,
and the remainder will be used as arguments.
secretEnv A list of environment variables which are encrypted using a Cloud Key
Management Service crypto key. These values must be specified in the
build's `Secret`.