问题描述
有人可以帮我吗? 我尝试构建映像并将其发布到私有Docker注册表:
Error parsing reference: "https://*****.com:5000/myfirstimage:latest" is not a valid repository/tag: invalid reference format
15921 time="2020-10-18T17:52:20Z" level=fatal msg="exit status 1"
但是遇到下一个错误:
{{1}}
但是,当我尝试手动推动时,一切正常。 我究竟做错了什么?感谢您的帮助。
解决方法
在docker注册表和仓库的地址中包含 scheme 并不常见。
尝试像这样写没有https://
的地址
repo: <registry-hostname>.com:5000/myrepo/myfirstimage
registry: <registry-hostname>.com:5000