Amber Portwood -- Released from Jail

Amber Portwood

Released from Jail

5/18/2012 3:55 PM PDT BY TMZ STAFF

"Teen Mom" star Amber Portwood has been released from jail -- again -- after a judge gave her a 10 millionth chance.

As we reported, Amber was arrested and thrown in the slammerin Madison County, Indiana last week for skipping a drug court appointment -- and allegedly lying about it.

But sources tell TMZ, the judge took pity on her Thursday -- and decided to release her back to home detention.

The judge told Amber he wants her to continue drug rehab treatment and find a real job.

But if Amber screws up again, she could be thrown out of the drug court program entirely -- at which point she'll face her original prison sentence stemming from her December drug arrest ... a terrifying 5 years behind bars.