hsds icon indicating copy to clipboard operation
hsds copied to clipboard

Docker Image CI fails intermittently due to bad username/password

Open mattjala opened this issue 1 year ago • 3 comments

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 }}

mattjala avatar Feb 21 '24 15:02 mattjala

This seems to be resolved

jreadey avatar Oct 01 '24 12:10 jreadey

Looks like it only happens with workflows triggered by dependabot, see the logs

mattjala avatar Oct 01 '24 13:10 mattjala

Ok, I'll look into it.

jreadey avatar Oct 01 '24 18:10 jreadey