To build your Android App on Google Cloud Build use the following config for your cloudbuild.yaml
:
steps:
- name: 'stefma-docker-hub.bintray.io/android-build-env:0.2-alpha'
args: [ 'bash', './gradlew', 'assembleRelease' ]
To manually run your project on Cloud Build just run:
gcloud container builds submit --config cloudbuild.yaml