You will not face any consequences
The Trade Unions Act explicitly prohibits treating employees worse because they belong to a union or stay outside it. Your employer cannot discriminate against you, even if they find out about your membership.
Trade Unions Act (PL)

