Skip to content

Provide build status update API #863

@fmigneault

Description

@fmigneault

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
Docker Automated build

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:

Metadata

Metadata

Assignees

Labels

buildImprovements to developers build experience with Dockercommunity_newNew idea raised by a community contributor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions