DD2 had a blocked duct in one eye till just shy of a year (we were actually considering surgery since a duct that doesn't clear by a year probably wont on it's own) so we got to talk with a lot of people about baby eyes!
We were told to try a warm damp cloth (hold over the eye like a compress for a moment, always wipe away from the inner corner, always use a clean portion of cloth each pass... water or herbal tea are the most common liquid suggestions), to squirt breastmilk in the eye with every feed, and to massage along the side of the nose/inner corner of the eye to encourage draining. Yellow or green gummy crusts or floaters on the eye were "ok".
An infection (more common in kiddos with plugged ducts) involved the whites of the eye looking red or streaked with red, the eyelid and eye socket getting swollen/inflamed, or the eye socket looking almost 'bruised" in addition to the "normal" crustiness and dripping. If the infection didn't respond to breastmilk we had to get abx eye drops.
Anyway... plugged ducts are very common in infants and generally clear on their own, so unless your babes eyes get red/swollen/weepy/itchy it's probably ok to just treat with breastmilk and a warm compress. But if you're worried or it gets worse, your care provider should be able to rule out other problems.