From ed0b6c0ecfd58bc0aa952b3186d525d3dd6c6281 Mon Sep 17 00:00:00 2001 From: Adam Miskiewicz Date: Mon, 15 May 2017 19:41:03 -0700 Subject: [PATCH] Update docker image --- packages/react-navigation/circle.yml | 16 ++++++++-------- .../scripts/build-push-docker.sh | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/react-navigation/circle.yml b/packages/react-navigation/circle.yml index ecc6e034..44e9ce4e 100644 --- a/packages/react-navigation/circle.yml +++ b/packages/react-navigation/circle.yml @@ -2,7 +2,7 @@ version: 2 jobs: build: docker: - - image: reactcommunity/node-ci:7.10.0 # custom image -- includes ocaml, libelf1, Yarn + - image: reactcommunity/node-ci:7.10.0-0 # custom image -- includes ocaml, libelf1, Yarn parallelism: 3 working_directory: ~/react-navigation steps: @@ -11,13 +11,6 @@ jobs: key: v1-react-navigation-{{ .Branch }} # generate cache per branch - run: yarn # install root deps - run: ./scripts/test.sh # run tests - - save_cache: - key: v1-react-navigation-{{ .Branch }} # generate cache per branch - paths: - - ~/.cache/yarn - - ~/react-navigation/website/node_modules - - ~/react-navigation/examples/NavigationPlayground/node_modules - - ~/react-navigation/examples/ReduxExample/node_modules - deploy: command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then @@ -30,3 +23,10 @@ jobs: exp login -u "$EXPO_USERNAME" -p "$EXPO_PASSWORD" cd examples/ExpoNavigationPlayground && yarn && exp publish fi + - save_cache: + key: v1-react-navigation-{{ .Branch }} # generate cache per branch + paths: + - ~/.cache/yarn + - ~/react-navigation/website/node_modules + - ~/react-navigation/examples/NavigationPlayground/node_modules + - ~/react-navigation/examples/ReduxExample/node_modules diff --git a/packages/react-navigation/scripts/build-push-docker.sh b/packages/react-navigation/scripts/build-push-docker.sh index 4b6ba333..3bfce265 100755 --- a/packages/react-navigation/scripts/build-push-docker.sh +++ b/packages/react-navigation/scripts/build-push-docker.sh @@ -2,5 +2,5 @@ set -eo pipefail -docker build -t reactcommunity/node-ci:7.10.0 -f ./ci.Dockerfile . -docker push reactcommunity/node-ci:7.10.0 +docker build -t reactcommunity/node-ci:7.10.0-0 -f ./ci.Dockerfile . +docker push reactcommunity/node-ci:7.10.0-0