(one’s) goose is cooked

One has been discovered to have done something wrong and is now in trouble, one is finished, one’s chances are ruined.

I told a lie to my company. Now my goose is cooked and I am in much trouble.