DrydockDrydock
ConfigurationTriggersSlack

Slack

The slack trigger lets you post image update notifications to a Slack channel.

logo

The slack trigger lets you post image update notifications to a Slack channel.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_TRIGGER_SLACK_{trigger_name}_TOKEN🔴The Oauth Token of the Slack app
DD_TRIGGER_SLACK_{trigger_name}_CHANNEL🔴The name of the channel to post
DD_TRIGGER_SLACK_{trigger_name}_DISABLETITLEDisable title to have full control over the message formattingtrue, falsefalse
The Slack channel must already exist on the workspace (the trigger won't automatically create it)
This trigger also supports the common configuration variables.

Examples

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
        - DD_TRIGGER_SLACK_TEST_TOKEN=xoxp-743817063446-xxx
        - DD_TRIGGER_SLACK_TEST_CHANNEL=drydock
docker run \
    -e DD_TRIGGER_SLACK_TEST_TOKEN="xoxp-743817063446-xxx" \
    -e DD_TRIGGER_SLACK_TEST_CHANNEL="drydock" \
  ...
  codeswhat/drydock

On this page