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 78769da commit 626f56f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ class ImageBuildHandler(
}
val imageId = step.exec(MyBuildImageResultCallback(buildId, pipelineTaskId, dockerHostBuildApi))
.awaitImageId()

logger.info("==========imageId: $imageId")
this.imageId = imageId
logger.info("[$buildId]|[$vmSeqId] Build docker image mageId: $imageId")

nextHandler.get()?.handlerRequest(this)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ data class ImageHandlerContext(
val dockerBuildParam: DockerBuildParam,
var result: String? = null,
var imageTagSet: MutableSet<String> = mutableSetOf(),
var imageId: String = "",
override val projectId: String,
override val pipelineId: String,
override val buildId: String,
Expand Down

0 comments on commit 626f56f

Please sign in to comment.