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!
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.