When I wash my bike the brakes squeak for a bit.

If I don't wash the rims well it doesn't happen. But when I really get the rims nice and shiny the squeak. I'm just using the regular pink bike wash stuff.

Any suggestions?