latestOpenAPI 3.0.02026-08-10221235717.8 KB
e21ad140ec3c
public
Image
Add a new Image Build
DEPRECATED: This endpoint exists for historical compatibility and should not be used. Please use the Artefact API instead.
This endpoint is used by Continuous Integration (CI) pipelines to notify Humanitec that a new Image Build is available.
If there is no Image with ID imageId, it will be automatically created.
post/orgs/{orgId}/images/{imageId}/builds
Path parameters
orgIdstring required
The organization ID.
imageIdstring required
The Image ID.
Request body
Example request
{
"branch": "master",
"commit": "884bccaa807ea27cc1997a7492a3b6279fd7bd55",
"image": "registry.humanitec.io/my-org/my-service:1.2.7"
}Response
Build successfully added.