配置文件相关:鉴权 #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
私有Registry示例(默认禁用)
[registries."harbor.company.com"]
upstream = "harbor.company.com"
authHost = "harbor.company.com/service/token"
authType = "basic"
enabled = false
以上是默认配置文件,添加私有harbor仓库后可以正常使用公开镜像,无法拉取私有镜像。
根据AI提示,尝试添加字段 auth = "Basic dXNlcm5hbWU6cGFzc3dvcmQ=" 无效。
这是AI说的字符串 echo -n "你的Harbor用户名:你的Harbor密码" | base64
私有Registry功能尚未开发完成,还不能使用,请等待后面的版本吧