我一直在寻找如何提取私人图像,但发现了this。
我正在尝试使用cli无人机,但是当我使用此命令时
drone registry add \
--repository octocat/hello-world \
--hostname gcr.io \
--username _json_key \
--password @/absolute/path/to/keyfile.json
它返回一个错误:
Client error: 404
有帮助吗?
答案 0 :(得分:2)
添加自定义注册表时,在运行drone registry add
时,存储库必须存在。
您可以运行drone repo ls
(显示所有存储库)或drone repo info octocat/hello-world
来确认您的存储库存在。