'oc start-build' and 'docker push' fail with "error: unable to extract binary build input: exit status 1"

Solution In Progress - Updated -

Issue

  • After authenticating to the registry successfully, oc start-build and docker push are failing with an error:
$ oc start-build redhat-build-name -n namespace-name --from-dir=. --follow

Uploading directory "." as binary input for the build ...
.....
Uploading finished
build.build.openshift.io/redhat-build-name started
Receiving source from STDIN as archive ...
error: unable to extract binary build input, must be a zip, tar, or gzipped tar, or specified as a file: exit status 1

Environment

  • Red Hat OpenShift Container Platform
    • 3.x
    • 4.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content