binauthz-attestation/cloudbuild.yaml (20 lines of code) (raw):
steps:
- id: 'build'
name: 'gcr.io/cloud-builders/docker'
args:
- 'build'
- '-t'
- 'gcr.io/$PROJECT_ID/binauthz-attestation:latest'
- '.'
- id: 'publish'
name: 'gcr.io/cloud-builders/docker'
args:
- 'push'
- 'gcr.io/$PROJECT_ID/binauthz-attestation:latest'
- id: 'run-help'
name: 'gcr.io/cloud-builders/docker'
args:
- 'run'
- 'gcr.io/$PROJECT_ID/binauthz-attestation:latest'
- '--help'
tags: ['cloud-builders-community']