Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple notifications #1168

Open
Elbandi opened this issue May 6, 2024 · 0 comments
Open

Support multiple notifications #1168

Elbandi opened this issue May 6, 2024 · 0 comments

Comments

@Elbandi
Copy link

Elbandi commented May 6, 2024

Description

It would be nice, if there are more same notifications, and configure different notification for repos.

eg: Nofity differnet slack group (=channels) for portainer/portainer and alpine repo:

notif:
  slack:
   - name: devteam
      webhookURL: https://hooks.slack.com/services/ABCD12EFG/HIJK34LMN/01234567890abcdefghij
      renderFields: true
      templateBody: |
        There is a new {{ .Entry.Image }}. Run container build jobs!
   - name: operationteam
      webhookURL: https://hooks.slack.com/services/ABCD12EFG/HIJK34LMN/01234567890abcdefghij
      renderFields: true
      templateBody: |
        There is a new {{ .Entry.Image }}. Upgrade image!
  webhook:
   - name: foo
     ...
   - name: bar
     ...

And file provider:

- name: alpine
  notif: devteam
  watch_repo: true
- name: docker.io/portainer/portainer
  notif: operationteam
  watch_repo: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant