Two bikies have been shot in a drive-by attack on a Melbourne bridge and police are appealing for anyone with dashcam footage.

Victoria Police's anti-bikie Echo taskforce is investigating after a group of men riding motorcycles across Bolte Bridge were shot at on Friday night.

A 40-year-old Sunbury man was hit by a bullet, dropping his bike and sliding into a barrier.

He was take to hospital with non-life threatening injuries.

A second rider also attended hospital later in the evening with suspected gunshot wounds.

The shooter may have been travelling in a station wagon and police are calling on anyone who may have dashcam footage of the incident or was in the area to come forward.

Police say it is possible the parties are known to each other and this was a targeted attack.