Sign inSign up

dubc/drone-matrix-notify

By dubc

•Updated over 3 years ago

The official plugin is broken so I made a new container image which sends a message to matrix.

Image
0

10K+

dubc/drone-matrix-notify repository overview

⁠drone-matrix-notify

The official plugin is broken so I made a new container image here https://hub.docker.com/r/dubc/drone-matrix-notify⁠. Its based off https://github.com/fabianonline/matrix.sh⁠

Below is an example of a success and failure message.

example

⁠PROPERTIES

⁠homeserver

  • The Matrix homeserver URL.
  • string required

⁠accesstoken

  • Matrix access token
  • string required

⁠roomid

  • Room ID to send messages (not alias, but ID, and skip the !).
  • string required
  - name: Notify Element
    image: dubc/drone-matrix-notify
    settings:
      homeserver: https://matrix.domain.com
      roomid: eEReyMfMyRpGObXr:matrix.domain.com
      accesstoken:
        from_secret: matrix_drone_token
    when:
      status:
        - success
        - failure

Tag summary

Content type

Image

Digest

sha256:856400ebd…

Size

6.9 MB

Last updated

over 3 years ago

docker pull dubc/drone-matrix-notify