Segui o seguinte link para gerar o authorizations:create (https://remarkablemark.org/blog/2021/06/21/heroku-api-key/)
Comando não funciona:
docker login --username=_ --password=$$(heroku auth:token)registry.heroku.com
Erro:
elayne@elayne-notebook:~/IdeaProjects/airlines-api$ docker login --username= --password=$(heroku auth:token)registry.heroku.com
› Warning: heroku update available from 7.60.1 to 8.0.5.
› Warning: token will expire 05/24/2023
› Use heroku authorizations:create to generate a long-term token
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: elaynegomes@gmail.com
Error response from daemon: Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password
Assim também não funcionou:
heroku login
login docker --username= --password=$(heroku auth:token)registry.heroku.com
Erro:
elayne@elayne-notebook:~/IdeaProjects/airlines-api$ heroku login
login docker --username= --password=$(heroku auth:token)registry.heroku.com
› Warning: heroku update available from 7.60.1 to 8.0.5.
heroku: Press any key to open up the browser to login or q to exit:
Opening browser to https://cli-auth.heroku.com/auth/cli/browser/59017740-6d51-4136-b118-05ec2d45fd6d?requestor=SFMyNTY.g2gDbQAAAA4xODcuNzQuMTQwLjEyM24GAFBe0bWHAWIAAVGA.rb0bXhubL0Cii2tiP2yVS4SggTJ5aqz-aMxbldXM4oc
Logging in... done
Logged in as elaynegomes@gmail.com
› Warning: heroku update available from 7.60.1 to 8.0.5.
› Warning: token will expire 05/24/2023
› Use heroku authorizations:create to generate a long-term token
login: talvez não seja possível trabalhar sem o root efetivamente
Assim também não funcionou:
docker login --username=seu_usuario --password=$(heroku auth:token) registry.heroku.com
Não consigo seguir com o curso, alguém pode ajudar?