Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(multiarch): managed images adding bug fix (part 2)
Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Apr 5, 2023
1 parent 285e5a6 commit e685e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/build_phase.go
Expand Up @@ -195,7 +195,7 @@ func (phase *BuildPhase) AfterImages(ctx context.Context) error {
targetPlatforms = []string{phase.Conveyor.ContainerBackend.GetDefaultPlatform()}
}

for _, desc := range phase.Conveyor.imagesTree.GetImagesByName(true) {
for _, desc := range phase.Conveyor.imagesTree.GetImagesByName(false) {
name, images := desc.Unpair()
platforms := util.MapFuncToSlice(images, func(img *image.Image) string { return img.TargetPlatform })

Expand Down

0 comments on commit e685e5e

Please sign in to comment.