harbor 2.x version webhook is not getting triggered

331 views Asked by At

I have enabled Harbor >> Configuration >> System Settings, webhook triggered option.

  1. created project
  2. project >> webhooks configured webhook with http option & artifact push notification
  3. once I push the image to harbor, using docker push harbor2.dummy.com/projectname/alpine:latest in the logs observed artifact created. but how to check webhook is triggered or not ? because request not reached to webhook url.
1

There are 1 answers

0
Vad1mo On

When you enable the harbor debug mode

harbor.yaml

log:
  level: debug

You should see an output in the logs or an error message.

Use a catch-all webhook response service like hookbin or requestbin to catch all incoming requests. It might be you are missing something on the receiver side.