build error: Failed to push image: unauthorized: authentication required in OpenShift 3
Issue
- Build fails with unable to push image error
Pushing image docker-registry.default.svc.cluster.local:5000/test/test:1.0.0 ...
error: build error: Failed to push image: unauthorized: authentication required
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.