From 838baef7fa48fd67b8907d68a668e72265066c03 Mon Sep 17 00:00:00 2001 From: Timofey Kirillov Date: Wed, 29 Mar 2023 16:33:52 +0300 Subject: [PATCH] fix(multiarch): do not override image metadata for secondary platforms (part 2) Signed-off-by: Timofey Kirillov --- pkg/build/build_phase.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/build/build_phase.go b/pkg/build/build_phase.go index 8bd21f33bd..37f644a7c2 100644 --- a/pkg/build/build_phase.go +++ b/pkg/build/build_phase.go @@ -201,7 +201,7 @@ func (phase *BuildPhase) AfterImages(ctx context.Context) error { for _, targetPlatform := range targetPlatforms { for _, imagePlatform := range imagePlatforms { if targetPlatform == imagePlatform { - fmt.Printf("Found image %q built for target platform %q\n", imageName, targetPlatform) + logboek.Context(ctx).Debug().LogF("Found image %q built for target platform %q\n", imageName, targetPlatform) continue AssertAllTargetPlatformsPresent } }