DrydockDrydock
ConfigurationTriggersIFTTT

Ifttt

The ifttt trigger lets you send container update notifications to Ifttt via the Maker Webhook applet.

logo

The ifttt trigger lets you send container update notifications to Ifttt via the Maker Webhook applet.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_TRIGGER_IFTTT_{trigger_name}_KEY🔴The Webhook key
DD_TRIGGER_IFTTT_{trigger_name}_EVENTThe event namedrydock-image.
This trigger also supports the common configuration variables.

Ifttt ingredients

On Webhook call, Ifttt captures the following ingredients:

  • eventName
  • occuredAt
  • value1 (the image which can be updated)
  • value2 (the new version)
  • value3 (the image notification JSON message)

Examples

Configuration

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_TRIGGER_IFTTT_PROD_KEY=*******************************************
docker run \
  -e DD_TRIGGER_IFTTT_PROD_KEY="*******************************************" \
  ...
  codeswhat/drydock

Ifttt captured ingredients

  • EventName: drydock-container
  • OccuredAt: August 30, 2019 at 06:51PM
  • Value1: homeassistant
  • Value2: 2021.6.5
  • Value3: {"id":"31a61a8305ef1fc9a71fa4f20a68d7ec88b28e32303bbc4a5f192e851165b816","name":"homeassistant","watcher":"local","includeTags":"^\\d+\\.\\d+.\\d+$","image":{"id":"sha256:d4a6fafb7d4da37495e5c9be3242590be24a87d7edcc4f79761098889c54fca6","registry":{"url":"123456789.dkr.ecr.eu-west-1.amazonaws.com"},"name":"test","tag":{"value":"2021.6.4","semver":true},"digest":{"watch":false,"repo":"sha256:ca0edc3fb0b4647963629bdfccbb3ccfa352184b45a9b4145832000c2878dd72"},"architecture":"amd64","os":"linux","created":"2021-06-12T05:33:38.440Z"},"result":{"tag":"2021.6.5"},"updateAvailable":true}

How to find the IFTTT key

Open the Webhook channel & Connect

Open IFTTT Webhooks

And click on Connect image

Get the key from the settings

Open IFTTT Webhooks Settings

And copy the key from the URL image

How to create an IFTTT receipt

Create a new receipt & add a "this" trigger

Click here to create a new receipt

image

Add the Webhook service

image

Select the 'Receive a web request' trigger

image

Enter the trigger event name (drydock-container by default)

image

Define the 'then that' action

image

It's up to you :) Send an email...

On this page