Sign inSign up

theimpulson/gitlab-ci-android

By theimpulson

•Updated 6 months ago

GitLab CI image for building Android apps

Image
1

50K+

theimpulson/gitlab-ci-android repository overview

⁠gitlab-ci-android

This Docker image is a fork of jangrewe/gitlab-ci-android⁠. This fork contains the Android SDK and most standard, up-to-date packages necessary for building Android apps in a CI in GitLab CI.

⁠Tags Environment

  • android-33 (API level 33)
    • Ubuntu: 22.04
    • JDK: 17
    • Android command-line tools: 9477386
    • Android build tools & platform: API 33

⁠Building Apps

A .gitlab-ci.yml would look like this:

image: theimpulson/gitlab-ci-android:android-33

stages:
- build

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

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

⁠Sources

You can find the source of this image at GitLab⁠. This image is hosted on DockerHub⁠.

⁠Development

In case you wish to contribute to the development of this project, feel free to open a Merge Request⁠ or an Issue⁠ for the same. Contributions are always welcome.

Tag summary

Content type

Image

Digest

sha256:f5bb9d2f4…

Size

717.7 MB

Last updated

6 months ago

docker pull theimpulson/gitlab-ci-android