Sign inSign up

magiczvn/gitlab-ci-react-native-android

By magiczvn

•Updated almost 9 years ago

GitLab CI image for building react native apps in Android

Image
1

5.9K

magiczvn/gitlab-ci-react-native-android repository overview

Docker Build Statu Docker Pulls Docker Automated buil

⁠gitlab-ci-react-native-android

GitLab CI image for building react native apps in Android
Base on https://github.com/linehat/gitlab-ci-react-native-android/blob/master/Dockerfile⁠

⁠.gitlab-ci.yml

image: magiczvn/gitlab-ci-react-native-android

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
  - cd android && ./gradlew assembleDebug --stacktrace
  - mv ./app/build/outputs/apk/app-debug.apk ../../app-debug.apk
  artifacts:
   paths:
   - app-debug.apk

Tag summary

Content type

Image

Digest

Size

1.7 GB

Last updated

almost 9 years ago

docker pull magiczvn/gitlab-ci-react-native-android