Skip to content

Docker Image CI fails intermittently due to bad username/password #315

@mattjala

Description

@mattjala

Sample output:

Run docker/login-action@v1
  with:
    username: ***
    password: ***
    ecr: auto
    logout: true
Warning: The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Warning: The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Warning: The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Logging into Docker Hub...
Error: Error response from daemon: Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password

The relevant portion of the workflow:

    name: Login to DockerHub
    uses: docker/login-action@v1
    if: "! github.event.pull_request.head.repo.fork"
    with:
      username: ${{ secrets.DOCKERHUB_USERNAME }}
      password: ${{ secrets.DOCKERHUB_PASSWORD }}

Metadata

Metadata

Assignees

Labels

ci/cdIssues related to the CI/CD setup and execution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions