build badge icon