Push failed on automated build

I had the same problem. Today I finally managed to solve it after struggling for more than a day. I think that the base of the build has to be linked: at Build settings add the docker image that is specified with FROM in the Dockerfile to the link docker repositories part. Than trigger a build. I hope this helps you guys as well!