# Jenkins Pipeline stage fails due to unauthorized error

**URL:** <https://community.jenkins.io/t/jenkins-pipeline-stage-fails-due-to-unauthorized-error/11305>\
**Category:** Using Jenkins\
**Tags:** question, docker, pipeline\
**Created:** [December 16, 2023, 2:58am UTC](https://community.jenkins.io/t/jenkins-pipeline-stage-fails-due-to-unauthorized-error/11305 "2023-12-16T02:58:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyushnikh](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/piyushnikh/32/6368_2.png) [@piyushnikh](https://community.jenkins.io/u/piyushnikh)\
**Post date:** [December 16, 2023, 2:58am UTC](https://community.jenkins.io/t/jenkins-pipeline-stage-fails-due-to-unauthorized-error/11305/1 "2023-12-16T02:58:47Z")

</div>

Hi All,

I have wrote a pipeline job which will build the image from GitHub, starting app, running tests & finally ship containers on Dockerhub.

Below is the repository for this project.

> **[GitHub - piyushnikh/azure-voting-app-redis: Azure voting app used in docs.](https://github.com/piyushnikh/azure-voting-app-redis)**
>
> Azure voting app used in docs. Contribute to piyushnikh/azure-voting-app-redis development by creating an account on GitHub.

The issue is that the job is running and login is successfully done, but in pushing containers stage I am getting error like below,

“unauthorized: authentication required”

Thanks,  
Piyush Nikhade
