Does "post" mean the same thing in these two sentences?

To post someone for cowardice.

Post a warning.
the same meaning