-
Notifications
You must be signed in to change notification settings - Fork 112
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
Auto sync with docker-library/php #41
Comments
Ciao @Slamdunk ! TL;DR As of now images are built on Docker's infrastructure every time a push happens on When this project started, automated builds happened on hub.docker.com, and there we had the option to "link" this repository to Also, since Recently (although not that recently) cloud.docker.com was released. It's not very clear to me the relationship between cloud.docker.com and hub.docker.com, whether the first is meant to eventually supersede the latter or not, but I decided to move all the build process to cloud.docker.com, so now builds happen there. Since the registry is the same, built images and tags are still visible from both places, so this is mostly an "implementation detail". However, cloud.docker.com doesn't have the option to link repositories in the way I described above. So right now builds happen only when commits are pushed to Possible solutions that pop into my mind:
Sorry if my comment is a bit long to read, but I can't make up a decision on this. Please feel free to give me an opinion on this subject! 😉 |
Of course 👍 energy for Docker infrastructure comes from the Earth that we all needs, better lower as much as possible our impact I have no experience in building docker images on Travis, so I would not switch away from A non-perfect and non-clearest but effective solution would be to add a Travis weekly cron that:
Some notes:
|
I solved this issue by adding a build trigger url in cloud.docker.com and calling it in a weekly build: https://cloud.docker.com/repository/docker/zoeslam/php-mysql/builds/edithttps://travis-ci.org/Slamdunk/docker-php/settingsRemember to turn OFF auto build for the brand having the point .travis.yml, otherwise docker would receive too many useless triggers |
In the end Docker went full circle: Hub --> Cloud --> Hub. I found this and other issues relating to this one. It turns out that "Repository Link" is now disabled for base images because that would trigger a huge amount of automatic builds (think about how many images are based on official ones). |
It seems to me that this repo isn't automatically triggered/synced with https://github.com/docker-library/php the source docker repo that this library relies on.
For example 15 days ago (20 ago 2018) PHP
7.1.21
was tagged in that repo:docker-library/php@74b59e1
Bug as of yet
chialab/php:7.1
still exposes PHP7.1.19
The text was updated successfully, but these errors were encountered: