mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

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.
9 lines
228 B
Bash
Executable File
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" .
|