Let's put it this way. Going solely on the basis of what you have posted, as far as the law is concerned no, this would not be illegal discrimination and yes, your supervisor can require you to work the overnight shift.

I have not read your union contract so I cannot say if it is prohibited by your contract. It is not prohibited by law.