Rajesh
Rajesh

Reputation: 39

harbor 2.x version webhook is not getting triggered

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.

Upvotes: 0

Views: 405

Answers (1)

Vad1mo
Vad1mo

Reputation: 5543

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.

Upvotes: 0

Related Questions