| # See https://cloud.google.com/cloud-build/docs/build-config |
| |
| # this must be specified in seconds. If omitted, defaults to 600s (10 mins) |
| timeout: 3600s |
| options: |
| # job builds a multi-arch docker image for amd64 and arm64 |
| machineType: E2_HIGHCPU_8 |
| substitution_option: ALLOW_LOOSE |
| steps: |
| - name: 'gcr.io/cloud-builders/docker' |
| id: linux |
| entrypoint: make |
| args: |
| - push-container |
| - name: 'gcr.io/cloud-builders/docker' |
| id: windows |
| entrypoint: make |
| args: |
| - push-container-windows |
| substitutions: |
| _GIT_TAG: 'dev' |
| _PULL_BASE_REF: 'dev' |