Using GCR on a (non-GKE) Kubernetes Cluster
Firstly, if you don’t yet have an artifacts bucket for GCR then you will need to you need to push an image to the registry to create the storage account. This can be anything (e.g. busybox) and can ideally be done with a project owner or editor.
$ gsutil ls 'gs://artifacts.*' < no output > $ gcloud auth configure-docker $ docker pull busybox:latest $ docker tag busybox:latest gcr.io/<PROJ_ID>/busybox $ docker push gcr.