diff --git a/exporter/containerimage/attestations.go b/exporter/containerimage/attestations.go index 680be58596d9..c9eef91c0c4a 100644 --- a/exporter/containerimage/attestations.go +++ b/exporter/containerimage/attestations.go @@ -43,7 +43,8 @@ func supplementSBOM(ctx context.Context, s session.Group, target cache.Immutable doc, err := decodeSPDX(content) if err != nil { - return att, err + // ignore decoding error + return att, nil } layers, err := newFileLayerFinder(target, targetRemote)