Docker Community Forums

Share and learn in the Docker community.

How to Pass the last commit Id on Docker custom Webhook?

I have created the custom webhook on the docker hub, to trigger the CD actions, I can successfully receive the hook post action.

I need to pass the last commit ID of the docker build image, It will great if someone help on how to pass the last commit Id to custom webhooks using query params or on the payload.

In the current payload, I can receive push_data.images: [] as an empty array. There are no values on payload are related to commits ID (SHA IDS).

Thanks,
Siva.