Android CI Image
537
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
Content type
Image
Digest
sha256:b980ef9db…
Size
2 GB
Last updated
almost 2 years ago
docker pull megharay25/androidci