DEV Community

namikaze-abhishek
namikaze-abhishek

Posted on

GCP Code Build Error(unknown field "logging" in google.devtools.cloudbuild.v1.Build)

Your build failed to run: failed unmarshalling build config cloudbuild.yaml: unknown field "logging" in google.devtools.cloudbuild.v1.Build

To solve this error you have to either create a bucket for storing logs or you can paste this command just at the end of your steps

options:
logging: CLOUD_LOGGING_ONLY

Top comments (0)