Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mattjala opened this issue Feb 21, 2024 · 3 comments
Open

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

mattjala opened this issue Feb 21, 2024 · 3 comments
Assignees
Labels
ci/cd Issues related to the CI/CD setup and execution

Comments

@mattjala
Copy link
Contributor

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 mattjala added the ci/cd Issues related to the CI/CD setup and execution label Feb 21, 2024
@mattjala mattjala assigned mattjala and jreadey and unassigned mattjala Feb 22, 2024
@jreadey
Copy link
Member

jreadey commented Oct 1, 2024

This seems to be resolved

@jreadey jreadey closed this as completed Oct 1, 2024
@mattjala
Copy link
Contributor Author

mattjala commented Oct 1, 2024

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

@jreadey jreadey reopened this Oct 1, 2024
@jreadey
Copy link
Member

jreadey commented Oct 1, 2024

Ok, I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Issues related to the CI/CD setup and execution
Projects
None yet
Development

No branches or pull requests

2 participants