Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Build triggers UI question

I'm getting an error that is mentioned a few times here, however I am using the option in the UI to use a Dockerfile. The configuration options are use a cloudbuild file OR a Dockerfile. Does this not actually work? I would expect the build trigger to use my Dockerfile when running, but it seems to be looking for cloudbuild instructions which don't exist.

The error I'm getting is the following:
Your build failed to run: generic::invalid_argument: if 'build.service_account' is specified, the build must either (a) specify 'build.logs_bucket', (b) use the REGIONAL_USER_OWNED_BUCKET build.options.default_logs_bucket_behavior option, or (c) use either CLOUD_LOGGING_ONLY / NONE logging options

However, I am not using the Cloud Build configuration file (yaml or json) option. 

 

Solved Solved
0 4 1,034
1 ACCEPTED SOLUTION

Thanks for the response, but we just ended up moving back to github actions.

View solution in original post

4 REPLIES 4