Jenkins Pipeline stage fails due to unauthorized error

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.

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