add attr_readers for repo and tag on image