Skip to content

Commit

Permalink
feat: publish post-processor images to cloud-devrel-public-resources (#…
Browse files Browse the repository at this point in the history
…1203)

* feat: publish post-processor images to cloud-devrel-public-resources

One step in resolving googleapis/repo-automation-bots#1790.

* kick cla/google
  • Loading branch information
SurferJeffAtGoogle authored Sep 8, 2021
1 parent 17ee6e5 commit 3871c1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions docker/owlbot/java/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ steps:
args: [ "build",
"-t", "gcr.io/$PROJECT_ID/owlbot-java:$SHORT_SHA",
"-t", "gcr.io/$PROJECT_ID/owlbot-java:latest",
"-t", "gcr.io/cloud-devrel-public-resources/owlbot-java:$SHORT_SHA",
"-t", "gcr.io/cloud-devrel-public-resources/owlbot-java:latest",
"-f", "docker/owlbot/java/Dockerfile", "." ]
id: "build"
- name: gcr.io/gcp-runtimes/container-structure-test
Expand All @@ -43,3 +45,5 @@ steps:
images:
- gcr.io/$PROJECT_ID/owlbot-java:$SHORT_SHA
- gcr.io/$PROJECT_ID/owlbot-java:latest
- gcr.io/cloud-devrel-public-resources/owlbot-java:$SHORT_SHA
- gcr.io/cloud-devrel-public-resources/owlbot-java:latest
12 changes: 8 additions & 4 deletions docker/owlbot/nodejs/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ steps:
args: [ 'build',
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs:$SHORT_SHA',
'-t', 'gcr.io/repo-automation-bots/owlbot-nodejs:latest',
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs:$SHORT_SHA',
'-t', 'gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest',
'-f', 'docker/owlbot/nodejs/Dockerfile', '.' ]
# Push the docker image.
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'gcr.io/repo-automation-bots/owlbot-nodejs:$SHORT_SHA']
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'gcr.io/repo-automation-bots/owlbot-nodejs:latest']
images:
- gcr.io/repo-automation-bots/owlbot-nodejs:$SHORT_SHA
- gcr.io/repo-automation-bots/owlbot-nodejs:latest
- gcr.io/cloud-devrel-public-resources/owlbot-nodejs:$SHORT_SHA
- gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest

0 comments on commit 3871c1e

Please sign in to comment.