Sign inSign up

initflow/react-native-gitlab-ci-build

By initflow

•Updated about 7 years ago

Image
0

312

initflow/react-native-gitlab-ci-build repository overview

⁠react-native-gitlab-ci-build

Docker file for building react native applications in Gitlab CI

Based on https://hub.docker.com/r/magiczvn/gitlab-ci-react-native-android/⁠

sample .gitlab-ci.yml:

image: jpkrause/react-native-gitlab-ci-build

cache: paths: - node_modules/ - .gradle/

stages:

  • build

before_script:

  • export GRADLE_USER_HOME=$(pwd)/.gradle
  • chmod +x ./android/gradlew

build: stage: build script: - npm install --unsafe-perm - cd android && ./gradlew assembleDebug --stacktrace artifacts: paths: - android/app/build/outputs/apk

Tag summary

Content type

Image

Digest

Size

603.5 MB

Last updated

about 7 years ago

docker pull initflow/react-native-gitlab-ci-build