gitlab配置
1,gitlab新建一个专门与阿里云镜像服务对接的账号
2,代码项目给此账号 Maintainer权限
3,给账号配置 个人令牌



阿里云镜像配置
1,代码源绑定gitlab账号

2,创建镜像仓库1

2,创建镜像仓库2

3,镜像仓库中配置"构建"
默认规则: 代码一级目录有Dockerfile文件,通过git tag触发,tag的名称格式比如为tags:release-vversion为镜像的版本号

1,gitlab新建一个专门与阿里云镜像服务对接的账号
2,代码项目给此账号 Maintainer权限
3,给账号配置 个人令牌
阿里云镜像配置
默认规则: 代码一级目录有Dockerfile文件,通过git tag触发,tag的名称格式比如为tags:release-vversion为镜像的版本号
本文标题:阿里云镜像服务+gitlab自动化构建镜像
本文链接:https://www.haomeiwen.com/subject/byplvhtx.html
网友评论