Alec Baldwin does NOT like the media attention he's getting these days!

The temperamental actor shoved a reporter outside his New York apartment today, knocked his phone to the ground and mocked him when the reporter yelled, "You assaulted me!"

Baldwin was embroiled in a dramatic courtroom battle against an alleged stalker who claims she had an affair with the cable talk show host. A judge ruled today that Genevieve Sabourin will spend seven months behind bars -- 180 for the stalking charge and 30 days for acting up in court.

The French-Canadian woman reportedly told friends she thinks the prison sentence will "help her career."

Baldwin wasn't in the courtroom this morning when the decision was handed down -- he was busy picking on a reporter who was waiting outside his apartment to get a statement about Sabourin's sentence.

Alec has a history of getting feisty with photogs ... yesterday he hurled homophobic slurs at a paparazzo; back in June Baldwin was accused of punching a New York Daily News photographer in front of the Manhattan Civil Courthouse after he and then-fiancee Hilaria Thomas applied for a marriage license.

Will Baldwin's antics today land him back in court on an assault charge? We'll wait and see ...