https://github.com/drone-plugins/drone-matrix
Drone plugin for sending Matrix notifications
https://github.com/drone-plugins/drone-matrix
drone drone-plugin
Last synced: 4 months ago
JSON representation
Drone plugin for sending Matrix notifications
- Host: GitHub
- URL: https://github.com/drone-plugins/drone-matrix
- Owner: drone-plugins
- License: apache-2.0
- Created: 2017-10-31T18:50:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-10-23T12:07:51.000Z (8 months ago)
- Last Synced: 2025-10-23T14:17:47.867Z (8 months ago)
- Topics: drone, drone-plugin
- Language: Go
- Homepage: http://plugins.drone.io/drone-plugins/drone-matrix
- Size: 244 KB
- Stars: 8
- Watchers: 3
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drone-matrix
[](http://cloud.drone.io/drone-plugins/drone-matrix)
[](https://gitter.im/drone/drone)
[](https://discourse.drone.io)
[](https://stackoverflow.com/questions/tagged/drone.io)
[](https://microbadger.com/images/plugins/matrix "Get your own image badge on microbadger.com")
[](http://godoc.org/github.com/drone-plugins/drone-matrix)
[](https://goreportcard.com/report/github.com/drone-plugins/drone-matrix)
Drone plugin for sending build notifications to [Matrix](https://matrix.org/). For the usage information and a listing of the available options please take a look at [the docs](http://plugins.drone.io/drone-plugins/drone-matrix/).
## Build
Build the binary with the following command:
```console
export GOOS=linux
export GOARCH=amd64
export CGO_ENABLED=0
export GO111MODULE=on
go build -v -a -tags netgo -o release/linux/amd64/drone-matrix
```
## Docker
Build the Docker image with the following command:
```console
docker build \
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
--file docker/Dockerfile.linux.amd64 --tag plugins/matrix .
```
## Usage
```console
docker run --rm \
-e PLUGIN_ROOMID=0123456789abcdef:matrix.org \
-e PLUGIN_USERNAME=yourbot \
-e PLUGIN_PASSWORD=p455w0rd \
-v $(pwd):$(pwd) \
-w $(pwd) \
plugins/matrix
```