I´m trying to setup a continuous deployment for an appengine application (standard environment) using Google Cloud Builder. I have the following cloudbuild.yaml setup:
steps:
- name: gcr.io/cloud-builders/gcloud
args: ['app', 'deploy', 'frontend/app.yaml']
As I understand, the cloud builder uses the service account [PROJECT-ID]@cloudbuild.gserviceaccount.com, therefore I added the role App Engine Admin in the IAM section of the cockpit. Still, it fails with the error:
ERROR: (gcloud.app.deploy) You do not have permission to access app [...] (or it may not exist): Request had insufficient authentication scopes.
Any idea what i´m missing?
Thanks!