100% sure. Law says (P123):
There are different circumstances when a player must be cautioned for unsporting behaviour, e.g. if a player uses a deliberate trick while the ball is in play to pass the ball to his own goalkeeper with his head, chest, knee, etc. in order to circumvent the Law, irrespective of whether the goalkeeper touches the ball with his hands or not. The offence is committed by the player in attempting to circumvent both the letter and the spirit of Law 12 and play is restarted with an indirect free kick.
The thing that I hadn't remembered was that the goalkeeper doesn't even need to touch the ball for this to be called! Not sure if I would be brave enough to caution for a flick-up and header where the keeper then just boots the ball away...