diff --git a/components/image-builder-bob/pkg/builder/builder.go b/components/image-builder-bob/pkg/builder/builder.go index bf1e0e33361257..7de4a1ea939c46 100644 --- a/components/image-builder-bob/pkg/builder/builder.go +++ b/components/image-builder-bob/pkg/builder/builder.go @@ -79,6 +79,7 @@ func (b *Builder) Build() error { err := buildSociIndex(ctx, cl, b.Config.TargetRef, b.Config.WorkspaceLayerAuth) if err != nil { log.WithError(err).Error("running SOCI command") + return err } }