diff --git a/.drone.yml b/.drone.yml index 2bb95ae..a7261af 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,4 +31,20 @@ steps: from_secret: docker_username when: event: + - push - tag + + - name: notify + image: plugins/matrix + settings: + homeserver: https://matrix.rknet.org + roomid: MtidqQXWWAtQcByBhH:rknet.org + template: "Status: **{{ build.status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}" + username: + from_secret: matrix_username + password: + from_secret: matrix_password + when: + status: + - success + - failure diff --git a/Dockerfile b/Dockerfile index 8b29977..71f5c62 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,11 @@ FROM centos:7 RUN yum install -y gcc gcc-c++ \ libtool libtool-ltdl \ + gnutls-devel \ + pam-devel \ + dbus-devel \ + avahi-devel \ + systemd-devel \ make cmake \ git \ pkgconfig \