Travis Barker.Photo: Leonard Ortiz/MediaNews Group/Orange County Register/Getty

CALABASAS, CA - FEBRUARY 20: Blink-182 drummer and Musink Tattoo and Music Festival curator Travis Barker at his home in Calabasas on Wednesday, February 20, 2019. (Photo by Leonard Ortiz/MediaNews Group/Orange County Register via Getty Images)

Travis Barkerhas tested positive forCOVID-19.

TheBlink-182rocker, 46, announced the news on Instagram Thursday evening, alongside a photo of himself shirtless, wielding drumsticks.

“Covid sucks🤬 I’d rather be playing drums,” Barkerwrote in the caption.

Barker’s diagnosis comes weeks after the musician washospitalized for “life-threatening” pancreatitisin late June.

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human-interest stories.

Travis Barker.Steve Jennings/WireImage

SAN FRANCISCO, CA - AUGUST 09: Drummer Travis Barker of Blink 182 performs on Day 1 during the 2019 Outside Lands Music & Arts Festival at Golden Gate Park on August 9, 2019 in San Francisco, California. (Photo by Steve Jennings/WireImage)

On June 28, Barker found himself in a life-and-death situation when he was hospitalized due to pancreatitis, an inflammation of the organ that aids in digestion and regulating blood sugar.

He has since updated his Instagram followers that he is doing “much better,” and was photographed last month walking outside his recording studio in Calabasas, California.

Barker’s wifeKourtney Kardashianhas remained a steadfast support, a source previously telling people thatshe “wouldn’t leave his side"during his scare.

“Oh what a scary and emotional week it has been,” she wrote on Instagram in July. “Our health is everything and sometimes we take for granted how quickly it can change.”

RELATED VIDEO: Travis Barker Hospitalized for Pancreatitis After “Complaining of Cramps”: Source

The musician surprised the crowd at The Kia Forum in Los Angeles while joining pal Kelly, 32, on stage. Kardashian, 43, was also in attendance at the event to support her husband.

The Poosh founder also said she was grateful to their fans' prayers and the specialists, doctors and nurses at Cedars-Sinai Medical Center in Los Angeles “for taking such wonderful care” of them.

source: people.com