Skip to content

Commit 5ae0078

Browse files
authored
build: fix nodejs cloudbuild.yaml syntax (#1690)
* build: fix nodejs cloudbuild.yaml syntax * build: fix nodejs_mono_repo cloudbuild.yaml syntax
1 parent 86893b8 commit 5ae0078

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

docker/owlbot/nodejs/cloudbuild.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ steps:
1313
sed -i "s/([^()]*)$//g" post-processor-changes.txt &&
1414
sed -i "s/^\(feat\|fix\)/chore/g" post-processor-changes.txt &&
1515
sed -i "s/\!:/:/g" post-processor-changes.txt
16-
# Build the docker image.
17-
- name: 'gcr.io/cloud-builders/docker'
18-
args: [ 'build',
19-
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs:$SHORT_SHA',
20-
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs:latest',
21-
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs:$SHORT_SHA',
22-
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest',
23-
'-f', 'docker/owlbot/nodejs/Dockerfile', '.' ]
24-
# Push the docker image.
16+
# Build the docker image.
17+
- name: 'gcr.io/cloud-builders/docker'
18+
args: [ 'build',
19+
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs:$SHORT_SHA',
20+
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs:latest',
21+
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs:$SHORT_SHA',
22+
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest',
23+
'-f', 'docker/owlbot/nodejs/Dockerfile', '.' ]
24+
# Push the docker image.
2525
images:
2626
- gcr.io/repo-automation-bots/owlbot-nodejs:$SHORT_SHA
2727
- gcr.io/repo-automation-bots/owlbot-nodejs:latest

docker/owlbot/nodejs_mono_repo/cloudbuild.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ steps:
1313
sed -i "s/([^()]*)$//g" post-processor-changes.txt &&
1414
sed -i "s/^\(feat\|fix\)/chore/g" post-processor-changes.txt &&
1515
sed -i "s/\!:/:/g" post-processor-changes.txt
16-
# Build the docker image.
17-
- name: 'gcr.io/cloud-builders/docker'
18-
args: [ 'build',
19-
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:$SHORT_SHA',
20-
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:latest',
21-
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:$SHORT_SHA',
22-
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:latest',
23-
'-f', 'docker/owlbot/nodejs_mono_repo/Dockerfile', '.' ]
24-
# Push the docker image.
16+
# Build the docker image.
17+
- name: 'gcr.io/cloud-builders/docker'
18+
args: [ 'build',
19+
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:$SHORT_SHA',
20+
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:latest',
21+
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:$SHORT_SHA',
22+
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:latest',
23+
'-f', 'docker/owlbot/nodejs_mono_repo/Dockerfile', '.' ]
24+
# Push the docker image.
2525
images:
2626
- gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:$SHORT_SHA
2727
- gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:latest

0 commit comments

Comments
 (0)