Closed egibs closed 2 months ago
Would this test still work if the sample was compressed to a .tar.xz? If so, let's do that.
Would this test still work if the sample was compressed to a .tar.xz? If so, let's do that.
It does -- updated in 7bf82eb
(#438).
Closes: #428
This PR removes our dependency on a non-deterministic image source with a static tarball created via
crane export
.While this won't engage the
if c.OCI
logic, this is what that functionality does anyway: https://github.com/chainguard-dev/bincapz/blob/d3d7a6bb7fc13a4dfeeb26711c5617e4c4496a8d/pkg/action/oci.go#L15-L40The scan results are the same (sans the base path which has been updated).
For future reference, the command I ran to create the tarball was: