Go to file
Thomas Boerger 1bfd1cedbd
Applied default structure and added some sugar
2018-01-08 09:54:30 +01:00
.github Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
vendor/github.com Added vendored dependencies 2018-01-08 09:54:13 +01:00
.appveyor.yml Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
.dockerignore Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
.drone.yml Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
.gitignore Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
Dockerfile Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
Dockerfile.arm Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
Dockerfile.arm64 Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
Dockerfile.i386 Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
Dockerfile.windows Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
Gopkg.lock Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
Gopkg.toml Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
LICENSE Relicense 2018-01-03 13:57:00 +02:00
README.md Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
main.go Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
plugin.go Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
template.go Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00

README.md

drone-matrix

Build Status Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com Go Doc Go Report

Drone plugin for sending build notifications to Matrix. For the usage information and a listing of the available options please take a look at the docs.

Build

Build the binary with the following commands:

go build

Docker

Build the Docker image with the following commands:

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-matrix
docker build --rm -t plugins/matrix .

Usage

docker run --rm \
  -e PLUGIN_ROOMID=0123456789abcdef:matrix.org \
  -e PLUGIN_USERNAME=yourbot \
  -e PLUGIN_PASSWORD=p455w0rd \
  plugins/matrix