Rogue One star Donnie Yen may have accidentally given away too much by posting a picture of Stormtrooper helmets from the Star Wars movie online.

A picture posted by the Hong Kong action star on his Instagram page, which has since been removed, shows three different types of helmet.

The one in the centre is a classic Stormtrooper helmet, while the black one on the left has been likened to a Republic Commando helmet. The one on the right has a distinctly vintage appearance.

Rogue One: A Star Wars Story is set before Star Wars: Episode IV – A New Hope, the very first of the films to be released in 1977.

It was recently revealed the late actor Peter Cushing, who played villain Grand Moff Tarkin in the original Star Wars movie, is to be digitally recreated for Rogue One.