Nail one’s colours to the mast

Meaning: To openly declare your beliefs, opinions or intentions.

Example: The politician nailed his colours to the mast and openly supported the proposal.