He violated AFI 51-508 which expressly forbids the wearing of the Air Force uniform at political rallies or events. That is a lawful regulation, and his violation of that regulation will result in his being charged with Violation of Article 92, Uniform Code of Military Justice, which is "Failure to Obey A Lawful Order or Regulation." And yeah, his career is over.