Skip to content

Commit 1171199

Browse files
authored
build(nodejs_mono_repo): automatically tag with infrastructure-public-image- prefix (#2170)
Uses the BUILD_ID in case of a rebuild from the same commit SHA
1 parent 96f416c commit 1171199

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docker/owlbot/nodejs_mono_repo/cloudbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ steps:
2020
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:$SHORT_SHA',
2121
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:latest',
2222
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:$SHORT_SHA',
23+
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:infrastructure-public-image-$BUILD_ID',
2324
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:latest',
2425
'-f', 'docker/owlbot/nodejs_mono_repo/Dockerfile', '.' ]
2526
# Push the docker image.
2627
images:
2728
- gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:$SHORT_SHA
2829
- gcr.io/repo-automation-bots/owlbot-nodejs-mono-repo:latest
2930
- gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:$SHORT_SHA
31+
- gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:infrastructure-public-image-$BUILD_ID
3032
- gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:latest

0 commit comments

Comments
 (0)