Sign inSign up

rbsoftravi/gitlab-ci-android

By rbsoftravi

Updated 24 days ago

A Docker image with Android SDK and most common packages necessary for building Android apps.

Image
Integration & delivery
0

3.8K

rbsoftravi/gitlab-ci-android repository overview

gitlab-ci-android

This Docker image contains the Android SDK and most common packages necessary for building Android apps in a CI tool like GitLab CI. Make sure your CI environment's caching works as expected, this greatly improves the build time, especially if you use multiple build jobs.

A .gitlab-ci.yml with caching of your project's dependencies would look like this:

image: rbsoftravi/gitlab-ci-android

stages:
- build

before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew

cache:
  key: ${CI_PROJECT_ID}
  paths:
  - .gradle/

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

Tag summary

Content type

Image

Digest

sha256:deabe340a

Size

1.6 GB

Last updated

24 days ago

docker pull rbsoftravi/gitlab-ci-android