I\'m not able to push ocker images to Amazon ECR with Jenkins Pipeline: I always get no basic auth credentials :-(
no basic auth credentials
Here is my setup:
just remove or rename $HOME/.docker/config.json file from your local pc or cloud server. It will solve the no basic auth credentials issue.
Follow the below step in your terminal:
mv $HOME/.docker/config.json $HOME/.docker/config.json.backup