Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 746 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 746 Bytes

Docker Image for Android CI

You can use this image for building your Android app within your CI.

Pulls
docker pull seanghay/android-ci:latest

Usage in GitLab CI

image: seanghay/android-ci

before_script:
    - chmod +x ./gradlew
    
stages:
    - build

cache:
  paths:
    - .gradle/wrapper
    - .gradle/caches

assembleDebug:
    stage: build
    script:
        - ./gradlew assembleDebug
        - cp app/build/outputs/apk/debug/app-debug.apk app-debug.apk
    artifacts:
        paths:
            - app-debug.apk