Codefresh pipeline not triggered with ACR push event

I have a pipeline and have configured a trigger event that every time a new image is pushed to the Azure Container Registry repo, the pipeline will run automatically. But I see it is not working, when I check the ACR webhook, I see a 404 error.

New Update!

I have changed the URL in ACR webhook then it returned 200!

Hi @Kostis, If in a pipeline I set up multiple push trigger events for different Azure Container Registry, how do I know which registry is being triggered?

You need to see if the registry name is available as a parameter in the webhook.

If yes, then you can extract it in a Codefresh pipeline.

Which ACR fired by default is not disclosed by Codefresh. The same pipeline endpoint is reached by every ACR push trigger. It is your responsibility to examine the webhook payload when it returns 200.

drop the payload, retrieve the field from the registry or repository, map it to a variable, and then use that information to branch logic. Repo names are typically more dependable than registry names when you have several repos in one ACR.

In summary, the ACR trigger functions, but in order to determine what fired, you have to explicitly parse the payload.