Skip to content

Instantly share code, notes, and snippets.

@StefMa
Created July 29, 2018 12:58
Show Gist options
  • Save StefMa/69761f27fc35a399f774f8ab9262754f to your computer and use it in GitHub Desktop.
Save StefMa/69761f27fc35a399f774f8ab9262754f to your computer and use it in GitHub Desktop.
Google Cloud Build

Google Cloud Build

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment