Can't push to gcr.io

2.0

#1

in my deploy section i have:
echo GCLOUD_SERVICE_KEY | base64 --decode --ignore-garbage > gcloud-service-key.json docker login -e v@nitra.ua -u _json_key -p "(cat gcloud-service-key.json)" eu.gcr.io
docker push eu.gcr.io/abinbev-ua/caps-php

in my log:
Flag --email has been deprecated, will be removed in 1.14.
Login Succeeded
The push refers to a repository [eu.gcr.io/abinbev-ua/caps-php

denied: Unable to access the repository; please check that you have permission to access it.

from local machine with same credentials works fine

link to my build https://circleci.com/bb/nitra/caps/36


#2

Can you try using the gcloud command like gcloud info?


#3
maybe it's my fault, but i have success with gcloud docker push with different service account. My image nitra/gcloud

#4