Docker With TFS

We are trying to create a docker image with our TFS Build server. Its running the Docker commands but here is what I am seeing and I cant figure out what its complaining about.

“C:\Program Files\Docker\docker.exe” build -f C:\agent_work\1\s\ContainerTest\Dockerfile -t “registry.shoremortgageDOTcom/united shore project portfolio:19905” -t “registry.shoremortgageDOTcom/united shore project portfolio” C:\agent_work\1\s\ContainerTest

invalid argument “ shore project portfolio:19905” for t: invalid reference format

Any ideas?

Same CMD line works manually?

I didnt end up figuring this out…it was the way the registry repos were laid out. I eventually got this working with a different registry configuration, .Thanks for the feedback!