Teams notifications¶
You can send notifications to your Teams team-channel using an incoming webhook URL or a Microsoft Teams Workflows webhook URL.
Configuration¶
File
notif:
teams:
webhookURL: https://outlook.office.com/webhook/ABCD12EFG/HIJK34LMN/01234567890abcdefghij
cardType: messageCard
renderFacts: true
templateBody: |
Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released.
| Name | Default | Description |
|---|---|---|
webhookURL |
Teams incoming webhook URL or Workflows webhook URL | |
webhookURLFile |
Use content of secret file as webhook URL if webhookURL is not defined |
|
cardType |
messageCard |
Card payload type. Can be messageCard or adaptiveCard. Use adaptiveCard for Teams Workflows webhooks |
renderFacts |
true |
Render fact objects |
timeout |
10s |
Timeout specifies a time limit for the request to be made |
proxy |
HTTP proxy URL to use for requests | |
tlsSkipVerify |
false |
Skip TLS certificate verification |
tlsCaCertFiles |
List of paths to custom CA certificate files to use for TLS verification | |
templateBody1 |
See below | Notification template for message body |
Environment variables
DIUN_NOTIF_TEAMS_WEBHOOKURLDIUN_NOTIF_TEAMS_WEBHOOKURLFILEDIUN_NOTIF_TEAMS_CARDTYPEDIUN_NOTIF_TEAMS_RENDERFACTSDIUN_NOTIF_TEAMS_TIMEOUTDIUN_NOTIF_TEAMS_PROXYDIUN_NOTIF_TEAMS_TLSSKIPVERIFYDIUN_NOTIF_TEAMS_TLSCACERTFILESDIUN_NOTIF_TEAMS_TEMPLATEBODY
Default templateBody¶
Docker tag {{ if .Entry.Image.HubLink }}[`{{ .Entry.Image }}`]({{ .Entry.Image.HubLink }}){{ else }}`{{ .Entry.Image }}`{{ end }} {{ if (eq .Entry.Status "new") }}available{{ else }}updated{{ end }}.
Microsoft Teams Workflows¶
Microsoft Teams Workflows webhooks can receive Adaptive Card payloads. To use a workflow URL created from the Teams Workflows app, set:
notif:
teams:
webhookURL: https://prod-00.westeurope.logic.azure.com/workflows/...
cardType: adaptiveCard
Sample¶

-
Value required ↩