Hello guys! Anyone can help me solve an issue wrt ...
# google-cloud
s
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:
Copy code
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
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.