Search code examples
google-console-developergoogle-cloud-iam

What role to use for being able to push to container registry


API & Services” > “Credentials”Select “Create credentials” > “Services Account Key” > “Create New Services Account”.

What Role, to get storage.buckets.get?

I just need to be able to push to gcr.io/<project>


Solution

  • According to the official GCP documentation article on configuring access control for the Container Registry, you need a Storage Admin role for the storage.buckets.get permission.