Sign inSign up

megharay25/androidci

By megharay25

Updated almost 2 years ago

Android CI Image

Image
Integration & delivery
1

537

megharay25/androidci repository overview

This Docker image (megharay25/androidci:latest) provides the Android SDK and essential packages to streamline CI/CD builds for Android apps in GitLab CI. It supports Gradle caching to reduce build times.

Example .gitlab-ci.yml Configuration

image: megharay25/androidci:latest

stages:
  - build

before_script:
  - export GRADLE_USER_HOME=$(pwd)/.gradle   # Set Gradle cache directory
  - chmod +x ./gradlew                       # Make Gradle wrapper executable

cache:
  key: ${CI_PROJECT_ID}                      # Project-based caching key
  paths:
    - .gradle/                               # Cache Gradle dependencies

build:
  stage: build
  script:
    - ./gradlew assembleDebug                # Assemble the debug APK
  artifacts:
    paths:
      - app/build/outputs/apk/app-debug.apk  # Save APK as an artifact

Tag summary

Content type

Image

Digest

sha256:b980ef9db

Size

2 GB

Last updated

almost 2 years ago

docker pull megharay25/androidci