Getting an error exception "Array to string conversion" while pushing the docker image