Merge pull request #640 from mslacken/removeSigs
remove signature from OCI image
This commit is contained in:
@@ -131,8 +131,9 @@ func (p *puller) Pull(ctx context.Context, uri, dst string) (err error) {
|
|||||||
|
|
||||||
// copy to cache location
|
// copy to cache location
|
||||||
_, err = copy.Image(ctx, policyCtx, cacheRef, srcRef, ©.Options{
|
_, err = copy.Image(ctx, policyCtx, cacheRef, srcRef, ©.Options{
|
||||||
ReportWriter: os.Stdout,
|
ReportWriter: os.Stdout,
|
||||||
SourceCtx: p.sysCtx,
|
SourceCtx: p.sysCtx,
|
||||||
|
RemoveSignatures: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user