He is loyal to his allies to some degree, but can also be duplicitous and shifting in his allegiances, as seen by the way in which he repeatedly switches between friend and adversary to the Mandalorian.