I tried to previously successfully built projects and both got the same error message:
error: build error: Failed to push image: Get https://docker-registry.default.svc:5000/v1/_ping: x509: certificate is valid for docker-registry-default.xxxx.starter-us-west-2.openshiftapps.com, docker-registry.default.svc.cluster.local, 172.xx.xx.xx, not docker-registry.default.svc