BALTIMORE (AP) -- Chris Tillman savored the applause he got walking off the mound at the end of the seventh inning. It had been a long time since he received that sort of reception.
Tillman pitched seven innings of one-hit ball for his first victory since last May, Pedro Alvarez went deep twice and the Orioles snapped a five-game skid with a 6-0 victory over the Detroit Tigers on Friday night.
"It feels good, especially the way we've been playing," Tillman said. "We know we are capable of better and it feels good to come out of a game with the lead for once."
Tillman (1-4) struck out five and walked two on 98 pitches to get Baltimore its second win in 13 games. Tillman had gone 22 straight starts without a victory since May 7, 2017 -- his first outing of last season. He also pitched past the sixth inning for the first time since Aug. 11, 2016.
Manny Machado hit his team-leading ninth home run and added an RBI single in the eighth. Richard Bleier pitched a perfect eighth, and Mychal Givens closed out the ninth.
Tillman provided a needed performance for the Orioles (7-19), who are enduring the second-worst 26-game stretch to begin a season in franchise history. The team started the 1988 season 0-21 before winning two of its next five games.
After two batters reached in the first inning, Tillman retired 10 straight before allowing a four-pitch walk to Victor Martinez with two outs in the fourth. He did not allow a hit until Jose Iglesias lined a one-out double in the fifth.
"It was fun to watch," Orioles manager Buck Showalter said. "We all know what it could mean to us if Chris could get going like Chris is capable."
Mike Fiers (2-2) allowed three runs and four hits with five strikeouts and one walk over six innings for the Tigers, who have lost three straight.
"I definitely could have made better pitches," Fiers said. "Manny Machado is a tough out. He's one of the hottest hitters in the league right now so you have to be careful."
Machado gave the Orioles the lead in the first with a solo homer to center. Fiers retired 12 in a row before Alvarez homered in the fifth.
"We all try and do our part," Alvarez said. "Every time I go up there, I see pitches and try and do my best. Fortunately, I put some good swings on them and (drove) them out of the park."
An RBI single by Jace Peterson that caromed off second base provided a 3-0 lead in the sixth. Alvarez hit a two-run shot in the seventh off Johnny Barbato.
For the second straight night, Peterson took advantage of an infield shift on the bases. With Fiers focusing on Chris Davis at the plate, Peterson easily stole third with no one covering the bag. He executed almost an identical play the previous night against Tampa Bay and Chris Archer, who ran off the mound but could not beat Peterson to the base.
Tigers: RHP Drew VerHagen cleared waivers and was outrighted to Triple-A Toledo.
Tigers: 3B Jeimer Candelario returned to the starting lineup Friday after dealing with soreness in his left wrist.
Orioles: 2B Jonathan Schoop (oblique strain) will play in an extended spring training game Wednesday in Sarasota, Florida, and then join Double-A Bowie by Friday for a rehab assignment.
Tigers: Francisco Liriano (2-3, 3.13 ERA) fell short in a bid for his second career no-hitter Sunday against Kansas City when Whit Merrifield led off the sixth with a solo home run.
Orioles: Andrew Cashner (1-3, 3.60 ERA) is looking to snap a two-game skid. He has allowed just 3 hits in 28 at-bats with runners in scoring position.