Was it correct to connect all the ground wires for my new outlets?
Based on my understanding of your situation...

You ran a new cable from a light box which contained a source cable
You connected that cable's ground wire to your new cable's ground wire
You connected the other end of your new cable's ground wire to the receptacle bar

That's all correct, assuming you used appropriate connection technique and components.
One suggestion is that the light circuit may be a 15A circuit, which somewhat limits the tools you can run from it without tripping the breaker. You might pull a new run from a 20A outlet circuit or directly from the panel (taking appropriate precautions) on a new 20A breaker.