I can confirm it is an issue related to zsh. Kamal is clearly expecting bash.
Easy fix:
Create a new user dedicated to kamal deployment, like ... "kamal"
Add it to the "docker" group
Set this user shell to bash
Update your deploy.yml to use this new user
Profit