mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 00:58:20 +00:00
Update docker image
This commit is contained in:
parent
83e2cf007b
commit
690365a6e5
16
circle.yml
16
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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user