Open muschellij2 opened 2 years ago
As per https://cloud.google.com/build/docs/api/reference/rest/v1/projects.locations.triggers#BuildTrigger: build_template can be "autodetect". So if build is NULL, file is NULL, then may want to default to autodetect, which I think is the default with the trigger GUI.
autodetect
Autodetect build configuration. The following precedence is used (case insensitive):
cloudbuild.yaml cloudbuild.yml cloudbuild.json Dockerfile
This has caused me issues in the past so if its there would like it opt-in rather than the opt-out version it was for a while online.
As per https://cloud.google.com/build/docs/api/reference/rest/v1/projects.locations.triggers#BuildTrigger: build_template can be "autodetect". So if build is NULL, file is NULL, then may want to default to
autodetect
, which I think is the default with the trigger GUI.Autodetect build configuration. The following precedence is used (case insensitive):