Bind a Cloud Build approval trigger to a delivery target
Open Setup → Delivery in the environment and identify the Cloud Build project, region and deployment trigger that should hold the build for review.
Add the gate and configure its substitutions#
On the environment's Setup → Delivery page, add a gate under Cloud Build deployment protection. Choose the Repository target, Cloud Build project and region, and Deployment trigger ID. Enter the required substitution names and values, then select Add gate.
The optional Image digest substitution names the substitution through which each held build declares the sha256 digest of the image it deploys. Use a name beginning with _, distinct from _SHA and the required substitutions. Proofline then admits only a build that sets it to one sha256: digest, and never approves a build whose digest later changes. The digest is the build's own declaration: Proofline does not check that the build produced or deploys that image.
Other delivery mechanisms may not send a deployment event. Pull request reviews can still run, but they do not establish a deployment gate.