Added validity checks for repo name and tag in build job.
Signed-off-by: Joffrey F <joffrey@docker.com>
Merge pull request #8358 from docker/6969-reponame-rest-api

Added validity checks for repo name and tag in build job