allow push image with private registry, add some error logging