Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置私有镜像仓库,Dockerfile构建拉取私有仓库镜像,授权失败 #1875

Open
wangwen11 opened this issue Feb 27, 2024 · 1 comment
Assignees
Labels
kind/bug BUG Feedback
Milestone

Comments

@wangwen11
Copy link

按照文档说明「团队视图 -> 管理 -> 镜像仓库授权信息 中配置私有镜像仓库地址以及账户和密码」配置未生效
使用的是阿里云的镜像仓库,仓库设置为私有的,无法拉取到Dockerfile中的镜像

Build app version from source code start Start clone source code from https://codeup.aliyun.com/652971a192acde2cf1828016/yc/bcp-oss.git pull or clone code successfully, start code build CodeVersion:56885dc Author:liqiujie Commit:Dockerfile Start parse Dockerfile create build code job success INFO [0000] Retrieving image manifest registry.cn-guangzhou.aliyuncs.com/middlewaress/middleware:bcp-maven-3.9.6-01 INFO [0000] Retrieving image registry.cn-guangzhou.aliyuncs.com/middlewaress/middleware:bcp-maven-3.9.6-01 from registry registry.cn-guangzhou.aliyuncs.com INFO [0000] Resolved base name registry.cn-guangzhou.aliyuncs.com/middlewaress/middleware:bcp-maven-3.9.6-01 to builder error building image: GET https://registry.cn-guangzhou.aliyuncs.com/v2/middlewaress/middleware/manifests/bcp-maven-3.9.6-01: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:middlewaress/middleware Type:repository]] build code job exec failed Build app version from source code failure,build code job exec failure Compiling the source code failure 建议查看日志定位代码错误

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: Configure the private image warehouse, build the Dockerfile to pull the private warehouse image, and the authorization fails.

@zzzhangqi zzzhangqi added this to the 5.18.0 milestone Apr 7, 2024
@zzzhangqi zzzhangqi added the kind/bug BUG Feedback label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug BUG Feedback
Projects
Status: Todo
Development

No branches or pull requests

4 participants