| # Provide instructions for google Cloud Build to build and upload the flutter |
| # auto-submit docker image to artifact registry. |
| |
| steps: |
| # Build docker image |
| - name: 'us-docker.pkg.dev/cloud-builders/ga/v1/docker' |
| args: ['build', '-t', 'us-docker.pkg.dev/$PROJECT_ID/appengine/auto-submit.version-$SHORT_SHA', 'auto_submit'] |
| |
| timeout: 1200s |
| |
| images: ['us-docker.pkg.dev/$PROJECT_ID/appengine/auto-submit.version-$SHORT_SHA'] |
| |
| # If build provenance is not generated, the docker deployment will fail. |
| options: |
| requestedVerifyOption: VERIFIED |