Add a new Image Build

POST {{baseUrl}}/orgs/:orgId/images/:imageId/builds

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. The Image Source is determined via the Bearer Token supplied in the request.

Request Body

{"branch"=>"master", "commit"=>"884bccaa807ea27cc1997a7492a3b6279fd7bd55", "image"=>"registry.humanitec.io/my-org/my-service:1.2.7"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring