Google Container Registry giving 'Access Denied' when trying to push Docker container
In case anyone else is running into this issue and can't figure it out, I fixed it by running this command:

gcloud auth activate-service-account --key-file key-file.json


And then ran my docker push command and it pushed through.