docker build -t cangol/android-gradle .
docker push cangol/android-gradle
This is what my .gitlab-ci.yml looks like:
image: cangol/android-gradle
stages:
- build
build:
stage: build
script:
- gradlew build
only:
- master
docker pull cangol/android-gradle
Change directory to your project directory, then run:
docker run --tty --interactive --volume=$(pwd):/opt/workspace --workdir=/opt/workspace --rm cangol/android-gradle /bin/sh -c "./gradlew build"
Content type
Image
Digest
Size
1.5 GB
Last updated
about 5 years ago
docker pull cangol/android-gradle