Failed to push Image with no basic auth credentials error
Issue
- When trying to push image below error is seen :
I0111 10:14:35.961049 1 sti.go:215] No push secret provided
38
I0111 10:14:35.961094 1 sti.go:217] Pushing <Registry-ip>:5000/bob/ggg:latest image ...
39
F0111 10:14:35.993616 1 builder.go:59] Build error: Failed to push image. Response from registry is: Post http://<Registry-ip>:5000/v2/bob/ggg/blobs/uploads/: no basic auth credentials
Then I try to create another project let say willy, and it works :
I0111 09:38:19.219315 1 sti.go:213] Using provided push secret for pushing <Registry-ip>:5000/willy/cakephp-example:latest image
37
I0111 09:38:19.219362 1 sti.go:217] Pushing <Registry-ip>:5000/willy/cakephp-example:latest image ...
38
I0111 09:38:54.302465 1 sti.go:233] Successfully pushed <Registry-ip>:5000/willy/cakephp-example:latest
Environment
- Openshfit Enterprise
- 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.