diff --git a/registry/remote/repository.go b/registry/remote/repository.go index fc4f6bf6..769f614d 100644 --- a/registry/remote/repository.go +++ b/registry/remote/repository.go @@ -1121,6 +1121,7 @@ func (s *manifestStore) deleteWithIndexing(ctx context.Context, target ocispec.D if err := limitSize(target, s.repo.MaxMetadataBytes); err != nil { return err } + ctx = registryutil.WithScopeHint(ctx, s.repo.Reference, auth.ActionPull, auth.ActionDelete) manifestJSON, err := content.FetchAll(ctx, s, target) if err != nil { return err