Regular black holes in isothermal cavity