Add a cloudbuild.yaml for building CIFuzz base images. (#6457)

This commit is contained in:
Oliver Chang 2021-09-17 09:53:14 +10:00 committed by GitHub
parent 3bb23a3cdc
commit a94da0bc9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args:
- build
- '-t'
- gcr.io/oss-fuzz-base/cifuzz-base
- '-t'
- gcr.io/oss-fuzz-base/cifuzz-base:v1
- '-f'
- infra/cifuzz/cifuzz-base/Dockerfile
- .
- name: 'gcr.io/cloud-builders/docker'
args:
- build
- '-t'
- gcr.io/oss-fuzz-base/cifuzz-build-fuzzers
- '-t'
- gcr.io/oss-fuzz-base/cifuzz-build-fuzzers:v1
- '-f'
- infra/build_fuzzers.Dockerfile
- infra
- name: 'gcr.io/cloud-builders/docker'
args:
- build
- '-t'
- gcr.io/oss-fuzz-base/cifuzz-run-fuzzers
- '-t'
- gcr.io/oss-fuzz-base/cifuzz-run-fuzzers:v1
- '-f'
- infra/run_fuzzers.Dockerfile
- infra
images:
- gcr.io/oss-fuzz-base/cifuzz-base
- gcr.io/oss-fuzz-base/cifuzz-base:v1
- gcr.io/oss-fuzz-base/cifuzz-run-fuzzers
- gcr.io/oss-fuzz-base/cifuzz-run-fuzzers:v1
- gcr.io/oss-fuzz-base/cifuzz-build-fuzzers
- gcr.io/oss-fuzz-base/cifuzz-build-fuzzers:v1
timeout: 1800s