Username and password not recognized
See original GitHub issueBehaviour
I’m using this example to authenticate with docker hub, however the build fails with the error. What am I missing? Secrets are set. Both username, password and a PAT - nothing fixes it
Run docker/login-action@v1
with:
logout: true
Error: Username and password required
Configuration
name: Publish Docker image
on:
push:
tags:
- v*
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
logout: true
- name: Push to Docker Hub
uses: docker/build-push-action@v2
with:
push: true
tags: <removed>:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
How to fix login error “The username or password is incorrect”?
Press Windows key + I and navigate to the Update & Security. · Open Windows Update section and click Advanced options. · Disable...
Read more >login does not recognize user name and password
Step 3: In the Automatically sign in dialog, type your password and then re-enter the password to confirm the same. Finally, click OK...
Read more >I can't log in: username or password not recognised
If you are having trouble logging in, it might be one of several problems. The most common problem is using the wrong email...
Read more >How to Fix the User Name or Password Is Incorrect
How to Fix the User Name or Password Is Incorrect · 1: Disable Automatic Sign-In Press the Windows Key + S and type...
Read more >Windows 10 Won't Accept My Password, How to Fix it
When Windows 10 won't accept your password or keeps showing password incorrect error, the first thing is check if your keyboard and mouse...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kushthedude Secrets are not passed to the runner when a workflow is triggered from a forked repository.
Same issue.