How to find the status of automated builds which get triggered either manually or via the Trigger url for a Docker Hub project.
https://hub.docker.com/repository/docker/company/webapp/builds
Try with this:
curl https://hub.docker.com/api/build/v1/source/?image={namespace}/{repo} | jq '.objects[0].state'
Add bearer token in your request if it is a private repo
-H "Authorization: Bearer {Token}"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With