Function: buildImage()
buildImage(
context,eventCollect,options?):Promise<unknown>
Defined in: packages/extension-api/src/extension-api.d.ts:3970
Build a container image
Parameters
context
string
the build context directory
eventCollect
(eventName, data) => void
a function called when new build logs are emitted or new events happen during the build operation. The value of eventName can be either stream (and data contains the logs), or finish indicating the end of the build operation, or error in case of build error (and data contains the error message)
options?
parameters for the build operation
Returns
Promise<unknown>