From b07631f192fd45e11afb33446c20ca6e8d0325b1 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 9 Feb 2019 23:37:14 +0100 Subject: [PATCH] publish always --- .drone.yml | 16 ++++++++++++++++ Dockerfile | 5 +++++ 2 files changed, 21 insertions(+) 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 \