SAN FRANCISCO (AP) — Johnny Cueto got within an out of a complete game, Brandon Crawford broke up a scoreless tie with a bases-loaded, two-run double in the seventh inning, and the San Francisco Giants won their home opener 3-1 against the Colorado Rockies on Friday.

Cueto (1-0) struck out seven, walked one and didn’t allow a hit until Raimel Tapia’s sharp single to left with one out in the fifth following C.J. Cron’s four-pitch walk. The Giants then turned an inning-ending double play.

READ MORE: Fire Erupts Again At Concord Church Complex Damaged By Blaze Last Week

The animated right-hander shuffled out to start the ninth and promptly gave up a pinch-hit triple to Chris Owings and Garrett Hampson’s sacrifice fly. Manager Gabe Kapler made a mound visit, and the pitcher could be seen shaking his head no — and he stayed in the game. Fans roared and chanted “Johnny! Johnny!”

Cueto allowed a single to Trevor Story, his fourth hit allowed, and that ended his dominant day. Cueto threw 118 pitches. Jake McGee finished for his third save.

Crawford delivered with the bases full and one out in the seventh against Tyler Kinley, who relieved Rockies starter Austin Gomber (0-2) after he allowed two walks. Alex Dickerson provided insurance with an RBI single in the eighth.

Charlie Blackmon was ejected by plate umpire Ben May in the seventh for arguing a called third strike by Cueto, who threw a 1-2-3 inning.

Buster Posey gave the Giants their first hit off Gomber in the fifth with one out. Posey was initially called safe at second on Story’s force attempt but the call was overturned on replay review that Story’s foot had been on the bag.

Gomber threw 104 pitches in his second start for Colorado since being acquired from St. Louis in the deal that sent Nolan Arenado to the Cardinals in February. Gomber faced San Francisco for the first time in his career after he took a 4-2 loss to the Dodgers on Sunday in his Colorado debut allowing a career-high seven walks.

San Francisco, which missed the playoffs on the final day last season, won for the first time in its last four home openers — but has gone 15-7 starting the home schedule while playing at 22nd-year Oracle Park.

Home run king Barry Bonds was among those 7,390 in attendance as fans returned to Oracle Park for the first time since the end of the 2019 season. Bonds was shown on the big screen before the sixth inning and fans cheered and chanted, “Barry! Barry!”

READ MORE: Oakland Resumes 'Bulky Block Party' Trash Disposal Events To Stem Illegal Dumping

Posey played in front of the appreciative home crowd after he opted out last season to care for premature adopted twin girls.

The Rockies began a six-game road trip following their first winning series of the season against Arizona.

STOW’S SPECIAL MOMENT

Bryan Stow threw out the ceremonial first pitch to a standing ovation and cheers, 10 years after the Giants fan was severely beaten outside Dodger Stadium on opening day.

Among those shown on the scoreboard in remembrance before first pitch: Hall of Famers Hank Aaron and Joe Morgan, former manager Joe Altobelli, longtime scout Gary Hughes and ESPN baseball reporter Pedro Gomez.

TRAINER’S ROOM

Giants: 3B Evan Longoria had been set to play but was feeling side effects from the one-dose Johnson & Johnson COVID-19 vaccine he received during Thursday’s day off. Kapler said the majority of the club’s traveling party has now been vaccinated at least with the first round.

UP NEXT

RHP Chi Chi González (1-0, 5.40 ERA) starts Saturday afternoon for the Rockies opposite Giants RHP Logan Webb (0-1, 5.06).

MORE NEWS: A Surprise Hit, Filipino-Theme Home Movie Filmed in Daly City Spawns Sequel

© Copyright 2021 Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed