Closed hellocloudnative closed 3 years ago
这个功能本来计划在下下个版本支持的,既然提了现在就加上了 😄
Pull 下最新的镜像
docker pull flowci/core
docker pull flowci/agent
YAML 配置如下
docker:
image: your_image_from_private_docker_registry
auth: secret_name
secret_name 是密钥名称,在 设置 -> 密钥管理 -> 新建,选择 Category 为 Auth pair, 之后输入 docker 的用户名和密码
好的
当我用镜像为自己的私有仓库镜像时
提示报错信息,需要输入docker login