Skip to content

Commit

Permalink
feat:镜像推送异步模式 TencentBlueKing#5640
Browse files Browse the repository at this point in the history
Signed-off-by: sawyersong <[email protected]>
  • Loading branch information
sawyersong2 committed Dec 9, 2021
1 parent 377647f commit 78769da
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,11 @@ class ImageBuildHandler(
args.map { it.trim().split("=") }.forEach {
step.withBuildArg(it.first(), it.last())
}
step.exec(MyBuildImageResultCallback(buildId, pipelineTaskId, dockerHostBuildApi))
val imageId = step.exec(MyBuildImageResultCallback(buildId, pipelineTaskId, dockerHostBuildApi))
.awaitImageId()

logger.info("==========imageId: $imageId")

nextHandler.get()?.handlerRequest(this)
}
}
Expand Down

0 comments on commit 78769da

Please sign in to comment.