def get_job_image_info(project: '<STR_LIT>', job: Any) -> Tuple[str, str]:
project_name = project.name<EOL>repo_name = project_name<EOL>image_name = '<STR_LIT>'.format(conf.get('<STR_LIT>'), repo_name)<EOL>try:<EOL><INDENT>last_commit = project.repo.last_commit<EOL><DEDENT>except ValueError:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(project))<EOL><DEDENT>return image_name, last_commit[<NUM_LIT:0>]<EOL>
Return the image name and image tag for a job