A Newport man has been banned from keeping animals for life after admitting abusing his dog.