I follow the guide on the right side of the google cloud console for deploying a ruby ββproject, after cloning the demo source code, try using the gcloud app deploy --project fireflywytwyt
to deploy, it causes the following error for me (unnecessary logs are omitted):
... 8820c09c846d: Image already exists 64fc2a97cff9: Image already exists 43f58141118b: Image already exists 575d6bde5efe: Image already exists 272ffca85019: Image already exists 90a62e26e551: Image already exists a51047f764d0: Image already exists 2c8496abe349: Image already exists 6e04b82f3d6e: Image already exists latest: digest: sha256:406115ccfa93d7cef120b2683f75c9f5b3821d8a11b8afbca7781240c293313e size: 72372 DONE --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Updating service [default]...failed. ERROR: (gcloud.app.deploy) Error Response: [7] The user fireflywytwyt@appspot.gserviceaccount.com must have permission to read the image at us.gcr.io/fireflywytwyt/appengine/def ault.20161124t144728:latest
Note the error:
The user fireflywytwyt@appspot.gserviceaccount.com must have permission to read the image at us.gcr.io/fireflywytwyt/appengine/def
It seems my account cannot access the docker registry, how to fix it?
source share