diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..550f8d0 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,57 @@ +--- +kind: pipeline +type: docker +name: default + +trigger: + event: + include: + - push + - cron + branch: + - master + +environment: &default_environment + REVISION: ${DRONE_COMMIT_SHA} + CREATED: ${DRONE_BUILD_CREATED} + SOURCE_URL: ${DRONE_GIT_HTTP_URL} + # also change in 'tags' of build docker + TS3WEB_VERSION: 2.2.5 + +steps: + - name: build docker image + image: plugins/docker + environment: + <<: *default_environment + settings: + purge: true + repo: varakh/ts3web + username: + from_secret: dockerhub_user + password: + from_secret: dockerhub_key + tags: + - latest + - 2.2.5 + + - name: notify + image: drillster/drone-email + settings: + subject: "Build failed" + body: "URL ${DRONE_BUILD_LINK}" + host: + from_secret: mail_host + username: + from_secret: mail_user + password: + from_secret: mail_password + from: + from_secret: mail_from + when: + status: + - failure +--- +kind: signature +hmac: f575a63bd85c4a95593be5e077373216fbd50ad57e6b3d1db56f950e881ed2a5 + +... diff --git a/README.md b/README.md index b4056e6..9b98af7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # README +[![Build Status](https://drone.myservermanager.com/api/badges/varakh/ts3web/status.svg)](https://drone.myservermanager.com/varakh/ts3web) + ts3web is a free and open-source web interface for TeamSpeak 3 instances. The minimalistic approach of this application is intentional.