Closed Floriferous closed 2 years ago
There is a race condition in node when trying to use stdin for a child process. I've fixed this in version 1.5.5 by switching back to passing the password as an argument. Docker will show a warning that it isn't secure, but in this situation it shouldn't be any less secure than what mup was doing.
On Mup 1.5.3, when deployment reaches
docker login
, it callsrunCommand
with the password piped throughstdin
.Locally this doesn't cause any issues, but in CircleCI, it throws a
write EPIPE
error:Not sure what can trigger this issue?