login-action: Error: Username and password required

Behaviour

Steps to reproduce this issue

  1. 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

Relevant step:

      - name: Login to DockerHub
        uses: docker/login-action@v1
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}

Logs

See https://github.com/brianmay/scrooge/runs/2292983499

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (2 by maintainers)

Commits related to this issue

Most upvoted comments

For anyone experiencing problems with dependabot: make sure you’ve added secrets for both Actions and Dependabot in repository (or organization) settings.