1

I'm having problems with docker continuous integration.

I setup automated builds in cloud.docker.com for my project, but there is not information at all either in their webs (hub/store) or their api, which shows that my build is not automated.

Docker Cloud looks like this:

Build configuration

Recent builds

But in the registry there is no "builds" section:

My project

I guess that should look like other members projects, something like this:

Other member project

Also, like I said, using the endpoint: https://registry.hub.docker.com/v2/repositories/{user}/{project}/ shows me "automated build: false"

4

1 回答 1

1

我刚刚意识到,在某种程度上,Docker Cloud 自动构建和 Docker Hub 之间没有联系。

如果您在 Docker Hub 中创建自动构建,一切正常。我不明白这其中的逻辑,因为如果您在 docker cloud 或 docker hub 中创建一个 repo,它们会被同步为一个,但是在 Docker Cloud 上创建的自动构建不会在 Docker Hub/Store 中正确显示。

Docker Hub 和 Docker Store 构建都将在您推送到您的存储库或使用 发送新构建时更新docker push,但如果您在此处执行此操作,则有关自动构建的信息只会显示在 Docker Cloud 中。

于 2018-02-10T17:20:24.030 回答