Sign inSign up

applab/gitlab-ci-android-fastlane

By applab

Updated over 3 years ago

Android SDK and most common packages necessary for building Android apps in a CI tool like GitLab CI

Image
0

8.1K

applab/gitlab-ci-android-fastlane repository overview

gitlab-ci-android-fastlane

(Forked from unitedclassifiedsapps/gitlab-ci-android-fastlane as it seems that it's not actively maintained at the moment.)

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

Use generated public key as GitLab deploy key.

docker run -it --rm unitedclassifiedsapps/gitlab-ci-android-fastlane
cat ~/.ssh/id_rsa

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

image: applab/gitlab-ci-android-fastlane

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

Components

  • Android SDK Build Tools v29.0.2
  • fastlane v2.137.0

Tag summary

Content type

Image

Digest

Size

1.3 GB

Last updated

almost 7 years ago

docker pull applab/gitlab-ci-android-fastlane