login-action: Error: Username and password required
Behaviour
Steps to reproduce this issue
- Attempt to run CI on existing project that was working
Example: https://github.com/brianmay/scrooge/runs/2292983499
This is happening though in multiple projects.
Expected behaviour
No error. Should login to Docker. Credentials are (supplied using the designated secrets). This is not a forked repository. It was working. Not sure what has changed.
Actual behaviour
Error: Username and password required
Configuration
- Repository URL (if public): https://github.com/brianmay/scrooge/
- Build URL (if public): https://github.com/brianmay/scrooge/runs/2292983499
Relevant step:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Logs
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (2 by maintainers)
Commits related to this issue
- Disable Docker login for dependabot See https://github.com/docker/login-action/issues/65 — committed to lycheeverse/lychee by mre 5 years ago
- Disable Docker login for dependabot (#519) See https://github.com/docker/login-action/issues/65 — committed to lycheeverse/lychee by mre 5 years ago
For anyone experiencing problems with dependabot: make sure you’ve added secrets for both Actions and Dependabot in repository (or organization) settings.