Skip to content

Commit

Permalink
fix(build): publish custom tags and final images in parallel
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
  • Loading branch information
alexey-igrychev committed Jun 20, 2024
1 parent 5603e4f commit 6180f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/build_phase.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (phase *BuildPhase) AfterImages(ctx context.Context) error {

imagesPairs := phase.Conveyor.imagesTree.GetImagesByName(false)
if err := parallel.DoTasks(ctx, len(imagesPairs), parallel.DoTasksOptions{
MaxNumberOfWorkers: phase.Conveyor.StorageManager.MaxNumberOfWorkers(),
MaxNumberOfWorkers: int(phase.Conveyor.ParallelTasksLimit),
}, func(ctx context.Context, taskId int) error {
pair := imagesPairs[taskId]

Expand Down

0 comments on commit 6180f23

Please sign in to comment.