https://pulumi.com logo
Title
s

stocky-rose-89322

03/26/2020, 3:56 AM
Hello guys! Anyone can help me solve an issue wrt deploying a docker image to GCP from a GitHub Action? From local everything works, because I run the command
gcloud auth configure-docker
, within the GH Action I am using a Service Account I created with
Project > Owner
role, however, I get the following error:
error: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: <https://cloud.google.com/container-registry/docs/advanced-authentication>
c

curved-ghost-20494

06/10/2020, 1:20 PM
Hi Kevin, did you manage to get around this? Presumably adding Container Registry permissions to your service account? Or Something else?
If anyone else finds this, I had to add "Storage Admin" permissions to my service account. Now... I've since down a destroy and rebuilt my architecture from scratch and this is. the only part that's stopped working again. I can't deploy any of my containers to the registry.