The Gentle Gunman (1952) starring John Mills & Dirk Bogarde.
I saw this film in a local cinema c1953, don't remember much about it except 'I've been a Mooonshiner' was on the soundtrack.
IMDb has some more information:
Soundtracks
Moonshiner
(uncredited)
Traditional
Arranged by Delia Murphy