flutter/dev/ci/docker_linux/docker_build.sh
Greg Spencer a5c2ddddaa
Move docs and gallery deployment to Cirrus, add Docker image for Linux (#20097)
This adds a Docker image for the linux builds, replacing a lot of the setup code with a Docker build.

Added a docker image build step that has the right gcloud credentials in it.

Also, this finally moves the gallery deployment and docs publishing steps to Cirrus. They were dependent upon some environment setup that was a lot easier to do in Docker than in a setup bash script.
2018-08-03 17:28:34 -07:00

9 lines
228 B
Bash
Executable File

#!/bin/bash
TAG="${CIRRUS_TAG:-latest}"
# pull to make sure we are not rebuilding for nothing
docker pull "gcr.io/flutter-cirrus/build-flutter-image:$TAG"
docker build --tag "gcr.io/flutter-cirrus/build-flutter-image:$TAG" .