0
0
mirror of https://github.com/thegeeklab/wp-matrix.git synced 2024-11-24 23:30:40 +00:00
wp-matrix/content/_index.md
2024-03-12 19:59:28 +00:00

2.0 KiB

title
wp-matrix

Build Status Docker Hub Quay.io Go Report Card GitHub contributors Source: GitHub License: Apache-2.0

Woodpecker CI plugin to send messages to a Matrix room.

{{< toc >}}

Usage

steps:
- name: notify
  image: quay.io/thegeeklab/matrix
  settings:
    homeserver: https://matrix.org
    roomid: randomstring:matrix.org
    username: octocat
    password: random-secret

Parameters

{{< propertylist name=wp-matrix.data sort=name >}}

Build

Build the binary with the following command:

make build

Build the container image with the following command:

docker build --file Containerfile.multiarch --tag thegeeklab/wp-matrix .

Test

docker run --rm \
  -e PLUGIN_ROOMID=randomstring:matrix.org \
  -e PLUGIN_USERNAME=octocat \
  -e PLUGIN_PASSWORD=random-secret \
  -v $(pwd):/build:z \
  -w /build \
  thegeeklab/wp-matrix