Skip to content

Commit

Permalink
Move PR docker image build steps to cloudbuild.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DonggeLiu committed Nov 7, 2024
1 parent 78999af commit 40e80f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/push-pr-to-gcloud.yml

This file was deleted.

14 changes: 14 additions & 0 deletions ci/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args:
- build
- '-t'
- us-central1-docker.pkg.dev/oss-fuzz-base/oss-fuzz-gen:pr-${_PR_NUMBER}
- .
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
entrypoint: 'gcloud'
args:
- auth configure-docker us-central1-docker.pkg.dev --quiet
- name: 'gcr.io/cloud-builders/docker'
args:
- push
- us-central1-docker.pkg.dev/oss-fuzz-base/testing/oss-fuzz-gen-pull-request:pr-${_PR_NUMBER}
- name: 'gcr.io/cloud-builders/docker'
args:
- build
Expand Down

0 comments on commit 40e80f8

Please sign in to comment.