Docker image based on seanghay/android-ci for Ionic Android CI pipelines.
docker pull grosa1/ionic-android-ci:latest
image: grosa1/ionic-android-ci
stages:
- build
assembleDebug:
stage: build
script:
- npm install
- ionic cordova build android
- cp platforms/android/app/build/outputs/apk/debug/app-debug.apk app-debug.apk
artifacts:
paths:
- app-debug.apk
expire_in: 3 day
only:
- master