NYPD Commissioner James O’Neill vowed Friday that there will be “consequences” for the cow-ard who doused a Bronx officer with milk.

“These incidents of disrespect, we cannot tolerate them. There has to be consequences for them, and it has to stop,’’ O’Neill told reporters.

Asked if police had busted the milk-tosser, the city’s top cop replied, “Not yet — but we will.’’

The dairy debacle was caught on tape and shows a man hurling a half gallon of milk at a police officer on Tuesday — weeks after other people filmed themselves in Brooklyn and The Bronx brazenly dousing cops with buckets of water.

The officer in the milk-throwing video was at the scene of an evacuation of an apartment building at 1454 Grand Concourse, where a two-alarm fire had broken out on the sixth floor that afternoon.

The crowd outside became rowdy, according to police, and that’s when the man chucked the bottle of milk at the officer, who was standing with other first responders.

The cop tried to duck but got drenched anyway.

“They got milked on!” one person laughs in the video as the crowd breaks out into cheers.

Officers chased the man, but he slipped away. Police later released a photo of the shirtless, bearded suspect with what looks like a wrap around his head.

Residents of the apartment building suggested that the milk toss may have been in retaliation for police unleashing pepper spray on the group. They said they had the milk on hand to treat the effects of the chemical.

“People got mad . . . They said they were trying to get back into the building,” one resident said.

The NYPD on Friday night confirmed an officer on scene used pepper spray — but only after two unruly residents refused to disperse and targeted officers’ body cameras.

One of the suspects, 39-year-old Raquel DeJesus, is accused of removing a cop’s camera.

While police were trying to arrest DeJesus, another man, D’Angelo Rodriguez, 18, allegedly interfered and pushed one of the cops – causing damage to that officer’s body camera.

“While attempting to take the resisting individuals into custody, an officer did discharge OC spray in order to maintain order on the scene,” the NYPD said in a statement.

Both DeJesus and Rodriguez were hit with several charges, including criminal mischief, resisting arrest and obstructing governmental administration.

Following the chaos, the milk-tosser struck. Police said he is guilty of assault.

The milk-tosser did not live in the building, two residents said.

“If you’re going to disrespect a cop and it’s criminal, it’s a violation,” O’Neill said. “Chances are, you’re probably going to be locked up either then or when we conduct the investigation, but it’s got to stop.”

Several people who were caught on video throwing water on officers in The Bronx and Brownsville, Brooklyn in July have been arrested on charges including criminal mischief, obstructing governmental administration and disorderly conduct.

In those cases, the sopping wet officers walked away without making arrests, a mistake O’Neill wants to avoid moving forward.

The commish said attacks on police aren’t new but highlight an ongoing need for more respect of law enforcement.

“This has gotten a lot of attention and rightfully so because it should not be tolerated, but this is not something that started in 2019,” he said. “People should appreciate the work men and women of this great police department do every day.”