scratchbuild
scratchbuild copied to clipboard
Example uploading to GCR ?
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