Docker Push失败了Gitlab CI
我是Gitlab的新手,我想创建一个Gitlab CI管道,该管道可以构建Docker图像并基本上将其推向我的Dockerhub。我在GitLab中创建了一个免费帐户,并创建了一个简单的管道。以下是我的管道。
以下是环境变量(注意:我要去dockerhub)
< img src =“ https://i.sstatic.net/pp3c4.png” alt =“在此处输入图像说明”> ,
但说登录失败。用户名和密码正确
我需要创建一个令牌吗?
I am new to GitLab and I want create a Gitlab CI pipeline which builds the Docker image and basically pushes it to my Dockerhub. I created a Free account in Gitlab and created a simple pipeline. Below is my pipeline.
Below are the Environment Variables (Note: I'm pushing to DockerHub)
But it says login failed. Username and password is correct
Do I need to create a Token ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
运行管道的分支是否受到保护?由于仅在受保护的分支和吉特拉布中的标签中可以看到受保护的变量
is the branch running the pipeline protected? since protected variables are seen only in protected branches and tags in gitlab