HOUSTON (AP) -- Dallas Keuchel pitched a six-hitter and struck out a career-high 12 in his second shutout in less than a month to lead the Houston Astros to a 4-0 win over the New York Yankees on Thursday night.

Dallas Keuchel of the Houston Astros celebrates after a complete-game shutout at Minute Maid Park in Houston. (Scott Halleran, Getty Images)

Keuchel (9-3) walked one while topping his previous best of 11 strikeouts in a shutout over the White Sox on May 30.

The left-hander retired 18 of 19 during one stretch, including 15 straight before Alex Rodriguez's single with two outs in the ninth. Mark Texeira then walked and Carlos Beltran singled to load the bases, but Keuchel got Jose Pirela to ground into a force out to end the game.

Jose Altuve had three hits and scored three times. Evan Gattis had an RBI single in the sixth and an RBI double in the eighth.

Adam Warren (5-5) allowed three runs and five hits in 5 2/3 innings for the Yankees.

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)