Updated

ATLANTA (AP) Brandon Barnes had three hits, including a two-run homer, and the Colorado Rockies extended Atlanta right-hander Shelby Miller's winless streak to 18 starts with a 6-3 victory over the Braves on Wednesday night.

Miller (5-11) looked like he might break the streak, leading 3-0 in the seventh inning, but he gave up four runs in the eighth before leaving with two outs.

Jose Reyes capped the rally with a two-out triple to right-center that scored Barnes and Charlie Blackmon. Daniel Descalso and Blackmon had the other RBIs in the inning for Colorado.

Simon Castro (1-0) picked up the win in relief for the Rockies, who won two out of three for their first series win at Turner Field since 2005.

Barnes tacked on a two-run homer in the eighth off Edwin Jackson.

The Rockies' bullpen had their fourth consecutive game without allowing a run as John Axford earned his 18th save. He struck out Pedro Ciriaco with two on to end the game.

Jonny Gomes and Adonis Garcia hit back-to-back home runs in the sixth inning to give the Braves a 3-0 lead. It was just the third back-to-back home runs for the Braves, who are last in the majors in homers.

Miller struggled early, allowing five of the first eight batters to reach base. But he got out of a bases-loaded, no-out jam in the second inning with a strikeout and double play. He then shut down the Rockies until the seventh, retiring 14 straight as the Braves built the 3-0 lead. In the seventh, he ran into trouble, giving up five hits, four runs and a walk. He finished with seven strikeouts in 6 2-3 innings, allowing nine hits and four runs.

During his winless streak, Miller has an ERA of 3.24 and has given up one earned run or less eight times. He broke Nolan Ryan's record of longest winless streak by an All-Star, which was 13 starts.

The Braves got on the board on an RBI groundout by rookie Christian Bethancourt in the second inning that scored Gomes.

TRAINER'S ROOM

Rockies: OF Carlos Gonzalez returned to the lineup after missing Tuesday's game with a sore knee. 3B Nelson Arenado was a healthy scratch.

UP NEXT

The Rockies will have a day off Thursday and open a three-game series at Pittsburgh on Friday. Rookie Jon Gray (0-0, 5.94) will start for the fifth time since being called up from Triple-A Albuquerque on Aug. 4. The Pirates will start Francisco Loriano (9-6, 3.23), who is 1-2 with a 5.48 ERA in four career starts against the Rockies.

The Braves will host the Yankees for a three-game series starting Friday. This is the Yankees' first visit since 2012 and the crowds are expected to be large at Turner Field. Braves rookie Williams Perez (4-4, 4.76) will face Masahiro Tanaka (9-6, 3.61) in the opener.