added some more control to pushing images to docker repository