react-navigation/scripts/build-push-docker.sh
Adam Miskiewicz aa84a5e316 Migrate to CircleCI v2 (#1517)
Use the new Docker-based, beta version of CircleCI.

This adds a docker image that has the correct deps to run flow, and then migrates from the old circle.yml format to the new.

This gets test runs wayyyyy down. Earlier today, on the old stack, before optimizations, we were at > 9 min for PR builds (aka, CI runs without a website deploy). The build for this PR ran in 1 min 33 seconds. Woo!
2017-05-14 23:08:13 -07:00

7 lines
140 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
docker build -t reactcommunity/node-ci:7.10.0 -f ./ci.Dockerfile .
docker push reactcommunity/node-ci:7.10.0