-
Notifications
You must be signed in to change notification settings - Fork 285
Description
Tell us about your request
In order to generate Shields Badge of a Docker build status (Hub or Cloud based), indicating if a given tag was successful or failed, there is a need for a public API to access this information.
This used to be available before, but is not provided anymore (due to an API and feature changes of build strategies?).
There is a way to know if the build is automated or not (ie: as shown below), but we cannot know if a specific build is actually successful.
https://img.shields.io/docker/automated/pavics/magpie
Which service(s) is this request for?
Hub API / Build
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Finding a way to expose just enough information to inform users whether a Docker build status corresponding to a given Git tag/release reference succeeded, and display it by a Shields Badge in a README file / documentation page.
Are you currently working around the issue?
There is no way to expose this information.
Users/developers (without login access to builds information) have to try pulling the docker to figure out whether it is available or not, or navigate into the hub's repository to look if the tag was pushed "at some point". Since the build can take a while to complete, this creates a long time where they don't know whether it failed or is still building.
Additional context
see reference issues: