Just make a sincere apology, make a funny to joke to make him laugh about it and do something nice for your friend and just move on. Oh, and for next time, in high school there is no one who would not tell a secret to anyone. It's not about trust; teens are "drama queens" by biological reasons. They can't help it!