The plans of two motorbike bandits were very nearly foiled after attendants succeeded in locking them inside a milk bar they had just robbed.

Melbourne police are currently searching for a pair of men believed to have been involved in two robberies in the city's north-west.

The first robbery – at a snack bar on Dumfries Street in Deer Park on February 1 – was captured on CCTV.

The video shows the masked men storming the store before 9pm, armed with a baseball bat and an axe.

The first robbery – at a snack bar on Dumfries Street in Deer Park on February 1 – was captured on CCTV. (Victoria Police)

The men seized cash and cigarettes before staff members managed to lock the doors.

The bandits eventually forced their way out of the store however, fleeing on a motorbike south along Salmond Street.

The men are believed to have been involved in another armed robbery the following day, on Tenterfield Drive in Burnside Heights, after 4pm.

The men seized cash and cigarettes before staff members managed to lock the doors. (Victoria Police) (The men seized cash and cigarettes before staff members managed to lock the doors. (Victoria Police))

The men are alleged to have threatened an attendant with an metal pole. After stealing a sum of money the pair again made off on a motorbike.

Both are described as Caucasian in appearance, with the first male identified as wearing a green hooded jumper, grey pants and black shoes.

The second man was wearing a black jumper at the time, as well as grey pants and black runners.