Sign inSign up

yusoltsev/drone-email-webhook

By yusoltsev

•Updated 26 days ago

Webhook listener for Drone CI / CD notifying commit authors of failed builds via email

Image
0

5.3K

yusoltsev/drone-email-webhook repository overview

⁠drone-email-webhook

Build Status Codecov GitHub Release Docker Image (docker.io) Docker Image (ghcr.io) Docker Image Size

Webhook listener for Drone CI / CD notifying commit authors of failed builds via email.

Light ScreenshotDark Screenshot

⁠Usage

⁠Starting the webhook listener

Pull and run the container:

docker run -d \
  -p 3000:3000 \
  -e DRONE_SECRET=your_webhook_secret \
  yusoltsev/drone-email-webhook:latest

See the Environment Variables⁠ table below for all available configuration options.

⁠Configuring Drone

Configure your Drone server to send webhooks by setting the following environment variables:

DRONE_WEBHOOK_ENDPOINT: http://your-webhook-host:3000
DRONE_WEBHOOK_SECRET: your_webhook_secret # Must match DRONE_SECRET in webhook container

For more information about Drone webhooks configuration, please refer to the official Drone documentation⁠.

Note: Make sure to replace the placeholder values with your actual configuration values.

⁠Environment Variables
KEYTYPEDEFAULTREQUIRED
DRONE_SECRETstringYes
DRONE_SERVER_HOSTstring0.0.0.0Yes
DRONE_SERVER_PORTuint163000Yes
DRONE_EMAIL_SMTP_HOSTstringlocalhostYes
DRONE_EMAIL_SMTP_PORTuint1625Yes
DRONE_EMAIL_SMTP_USERNAMEstringNo
DRONE_EMAIL_SMTP_PASSWORDstringNo
DRONE_EMAIL_FROMstringdrone@localhostYes
DRONE_EMAIL_CC[]string (comma-separated)No
DRONE_EMAIL_BCC[]string (comma-separated)No

⁠Docker Images

This application is delivered as a multi-platform Docker image and is available for download from two image registries of choice: yusoltsev/drone-email-webhook⁠ and ghcr.io/yegor-usoltsev/drone-email-webhook⁠.

⁠Versioning

This project uses Semantic Versioning⁠

⁠Contributing

Pull requests are welcome. For major changes, please open an issue⁠ first to discuss what you would like to change. Please make sure to update tests as appropriate.

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

sha256:76078bd9c…

Size

7.8 MB

Last updated

26 days ago

docker pull yusoltsev/drone-email-webhook