It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

GCloud unable to push image to GCR on bitbucket organization account

I've been struggling with bitbucket and GCloud (GCR) for quite awhile. I've narrowed it down to not being able to upload and image to GCR on a Bitbucket organization account...

On my personal bitbucket account it uploads to GCR without any issue. When I transfer the repo to my organization account I got the following error:


As soon as I transfer the repository to my personal account without changing ANYTHING it works again.

I think the GCloud/GCR credentials are setup correctly since it work in my personal bitbucket account but not from my organization... 

Can I get anyone to investigate this issue? I've been trying to solve this for quite awhile. It used to work on my organization account and stopped working for some reason..

Thanks in advance!

1 answer

Just leaving a note here for anyone wondering what happened in this issue, since this was solved through a support ticket.

This was happening to @Philippe Guilbault because there was an authentication error.
Basically, when Philippe transferred the repository from the personal account to the organization account, the authentication information changed as well. 

What you can do to check if you are facing the same problem is to CAT the contents of $GCLOUD_API_KEYFILE on your failing build and it should show you the private key you are using to authenticate.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,032 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you