scratchbuild icon indicating copy to clipboard operation
scratchbuild copied to clipboard

Example uploading to GCR ?

Open udhos opened this issue 7 years ago • 0 comments

I was able to use scratchbuild to upload an image to docker hub.

However, I am hitting status 404 Not Found when I try to upload an image to GCR:

$ scratch -dir ./tmp -entrypoint "/gowebhello -addr :8888" -name proj-research -tag latest -token $(gcloud auth print-access-token)
Failed to build image. failed to send image layer: blob upload failed: unexpected status 404 Not Found. {"errors":[{"code":"NAME_UNKNOWN","message":"Not found."}]}

Can you please share an example of how to upload an image to GCR?

Thanks, Everton

udhos avatar Jul 02 '18 16:07 udhos