Air one’s dirty laundry/linen in public

To make public something embarrassing that should be a secret.

The dinner party became uncomfortable when the host began to air his colleague’s dirty laundry in public.

The idiom has a proverbial counterpart in the form of: Don’t wash your dirty linen in public.