blob: e99ed927a466575a083fe2cc38f51bc1b53079ff [file] [log] [blame]
# Provide instructions for google Cloud Build to build and upload the flutter
# dashboard docker image to artifact registry.
# Build dashboard.
# This step generates the dashboard files using flutter, then moves the
# generated files into the app_dart folder, where a docker image is then
# created in the next step.
- name:$PROJECT_ID/flutter/flutter
entrypoint: '/bin/bash'
args: ['cloud_build/']
# Build docker image
- name: ''
args: ['build', '-t', '$PROJECT_ID/appengine/default.version-$SHORT_SHA', 'app_dart']
timeout: 1200s
images: ['$PROJECT_ID/appengine/default.version-$SHORT_SHA']