I have been looking in how to pull private images and I found this.
I'm trying to use the drone cli to it but when i use this command
drone registry add \
--repository octocat/hello-world \
--hostname gcr.io \
--username _json_key \
--password @/absolute/path/to/keyfile.json
It returns me a error:
Client error: 404
Any help?
When you add a custom registry, the repo needs to exist at the time of running drone registry add
.
You can run drone repo ls
(show all repos) or drone repo info octocat/hello-world
to confirm your repo exists.