You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We calculate the layer digest in GenerateImageSBOM by reading it from disk and hashing it.
We don't need to do that, because we have to calculate the digest already before this. We should pass that value down into this function (or just get it from the passed in img).
We calculate the layer digest in
GenerateImageSBOM
by reading it from disk and hashing it.We don't need to do that, because we have to calculate the digest already before this. We should pass that value down into this function (or just get it from the passed in
img
).apko/pkg/build/build_implementation.go
Lines 127 to 129 in 1e5f9db
This will save ~1ms per MB.
The text was updated successfully, but these errors were encountered: