If when you say the boiler "fires up", you actually mean that the pilot lights, only for it to extinguish when you release the button, then the problem is almost certainly a faulty thermocouple. Ths is the long metal probe, the end of which the pilot flame normally plays on to.
Kren, February 2008