diff --git a/Dockerfile b/Dockerfile index 45ab88e..98b5709 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ # Android Dockerfile based on uber/android-build-environment -FROM ubuntu:16.04 +FROM ubuntu:18.04 # SDK version -ENV ANDROID_SDK_VERSION 3859397 +ENV ANDROID_SDK_VERSION 4333796 # Never ask for confirmations ENV DEBIAN_FRONTEND noninteractive @@ -45,10 +45,10 @@ RUN echo "y" | sdkmanager \ # "cmake;3.6.4111459" \ "extras;google;m2repository" \ "platform-tools" \ - "platforms;android-26" \ - "build-tools;26.0.2" + "platforms;android-28" \ + "build-tools;28.0.2" -# Add more build tools +# Add release helper COPY release /usr/local/bin/release # Build directory diff --git a/drone.yml.example b/drone.yml.example new file mode 100644 index 0000000..3178692 --- /dev/null +++ b/drone.yml.example @@ -0,0 +1,11 @@ +pipeline: + build: + image: 127.0.0.1:5001/builder-android + commands: + - release + release: + image: plugins/github-release + secrets: [ github_token ] + files: app/build/outputs/apk/app-release.apk + when: + event: tag