Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#5748 from sawyersong2/issue5640_gi…
Browse files Browse the repository at this point in the history
…thub_branch

feat:镜像推送异步模式 TencentBlueKing#5640
  • Loading branch information
irwinsun authored Dec 10, 2021
2 parents 6778a47 + f92d1d2 commit 9d29240
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import org.slf4j.LoggerFactory
import org.springframework.stereotype.Service
import java.io.File
import java.nio.file.Paths
import java.util.concurrent.TimeUnit

@Service
class ImageBuildHandler(
Expand Down Expand Up @@ -80,7 +81,7 @@ class ImageBuildHandler(
step.withBuildArg(it.first(), it.last())
}
val imageId = step.exec(MyBuildImageResultCallback(buildId, pipelineTaskId, dockerHostBuildApi))
.awaitImageId()
.awaitImageId(60, TimeUnit.MINUTES)
this.imageId = imageId
logger.info("[$buildId]|[$vmSeqId] Build docker image mageId: $imageId")

Expand Down

0 comments on commit 9d29240

Please sign in to comment.