CCTV has been released which captures a group of men attacking wheelie bins in York.