图像构建精细且成功的标签。
然后记录下面的内容。
f5274dbb265d: Preparing
0c484a3ebe7d: Preparing
a0f976e3bcb6: Preparing
367c87d34790: Preparing
b0be1ac61406: Preparing
7a2766f96db9: Preparing
e5a477b23358: Preparing
e5a477b23358: Waiting
7a2766f96db9: Waiting
367c87d34790: Layer already exists
0c484a3ebe7d: Layer already exists
b0be1ac61406: Layer already exists
a0f976e3bcb6: Layer already exists
f5274dbb265d: Layer already exists
7a2766f96db9: Layer already exists
e5a477b23358: Layer already exists
unauthorized
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
任何想法或建议,尝试将非常感谢。
1条答案
按热度按时间gblwokeq1#
有几件事要检查,
1.是的,图像构建良好。在此之后,在推送期间,某些身份验证失败。从某种意义上说,你试图用什么用户来构建和推送图像,它能登录到目标仓库吗?.此用户是否能够登录到'docker login'并成功访问repo?如果是,则需要检查您尝试推送的目标仓库(如docker hub或自定义仓库)上的用户授权。