Robot users for docker login

Some repos such as support non-human users in a format such as orgname+username.

CircleCI does not support the ‘+’:

Error response from daemon: Registration: "Wrong username format (it has to match “^[a-z0-9]{4,30}$”)"
Action failed: docker login -e robot@fake.local -u $DOCKER_USER -p $DOCKER_PASS

The error message was misleading and the problem was that the robot user did not have the correct permissions to the repo.

1 Like

Wow, was I down a wild goose chase… thank you!