[英]Unable to create Build on Docker Hub from GitHub
I just created a new account on hub.docker.com.我刚刚在 hub.docker.com 上创建了一个新帐户。 I successfully linked my GitHub account in settings.
我在设置中成功链接了我的 GitHub 帐户。 After I clicked on
Create Repository
, I am presented with the familiar screen, where I can create a new docker repository.单击
Create Repository
,我会看到熟悉的屏幕,我可以在其中创建新的 docker 存储库。 However, the first strange thing here I noticed is, that I don't have the additional build options.然而,我注意到的第一个奇怪的事情是,我没有额外的构建选项。
This is what is missing:这是缺少的:
I went on and created a blank repository.我继续创建了一个空白存储库。 After that I went to the builds tab and clicked on the GitHub button, which said I was connected:
之后,我转到 builds 选项卡并单击 GitHub 按钮,该按钮表示我已连接:
In the following screen, I can select the the desired repository.在以下屏幕中,我可以选择所需的存储库。 After filling out the remainder of the form, nothing happens after I click
Save
or Save and Build
.填写完表单的其余部分后,单击
Save
或Save and Build
后没有任何反应。 I do not see any error messages popping up either.我也没有看到任何错误消息弹出。
Any ideas what I am doing wrong with this newly created docker account?任何想法我对这个新创建的 docker 帐户做错了什么?
Thank you very much for your time and help!非常感谢您的时间和帮助!
For GitHub, I'd recommend this guide for setting up a connection with GitHub Actions and Docker.对于 GitHub,我建议使用本指南来设置与 GitHub Actions 和 Docker 的连接。
I've only set up a connection with BitBucket and Docker, but I'll share the process with BitBucket for anyone else searching, or in case that provides any additional insight that might help with GitHub.我只建立了与 BitBucket 和 Docker 的连接,但我会与 BitBucket 共享该过程以供其他搜索者使用,或者提供任何可能有助于 GitHub 的其他见解。
In BitBucket, you need to set up a pipeline to push the build to the repo.在 BitBucket 中,您需要设置管道将构建推送到 repo。 The docs here outline the process.
此处的文档概述了该过程。
A quick summary of the steps in BitBucket: BitBucket 中步骤的快速总结:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.