webhookrelay / webhook-dispatcher

A simple Docker image to dispatch webhooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webhook Dispatcher

Build Status

Simple webhook dispatcher that can be used in the pipelines. Targeted at container workloads where native webhooks aren't that easy to get or configure (looking at you Google Cloud Builder).

Usage

$ webhook-dispatcher --destination https://my.webhookrelay.com/v1/webhooks/544a6fe8-83fe-4361-a264-0fd486e1665d --body hello
{"status_code":200,"body":""}

Available options:

webhook-dispatcher --help
Usage of webhook-dispatcher:
  --basic-auth string
    	Optional basic authentication in a 'user:pass' format
  --body string
    	Webhook payload
  --destination string
    	Webhook destination (https://example.com/webhooks)
  --method string
    	Webhook method (defaults to 'POST')

About

A simple Docker image to dispatch webhooks

License:MIT License


Languages

Language:Go 82.2%Language:Dockerfile 13.3%Language:Makefile 4.5%