Earwigs are tough: you would need a whole lot more than household dish detergent to kill them. Even mineral oil, which works on the same principle but is gorilla strength, is only moderately effective against them.
There are insecticides that work well like gamma cyhalothrin (a pyrethroid) but why spend that money when homemade traps work well?