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
No way to change source project for automated build #313
Comments
+1 |
👍 |
👍 Do you need some help to make that this happens? |
👍 |
13 similar comments
+1 |
👍 |
👍 |
👍 |
+1 |
+1 |
+1 |
👍 |
👍 |
👍 |
👍 |
👍 |
👍 |
👍 This feature is pretty important to me. |
+1 |
+1 especially now that Github's gone all unlimited on us, so we can finally move from Bitbucket to Github, which would break automated Docker Hub builds. |
This is supported in Docker Cloud Build service, we are prioritizing build development in Docker Cloud over Docker Hub. |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
👍 |
2 similar comments
+1 |
+1 |
unfortunately the docker-cloud builds are pretty unstable, so also a 👍 from me! |
+1 |
3 similar comments
+1 |
+1 |
+1 |
Support for modifying the source project of an automated build is currently available in Docker Cloud. We encourage you to try out Docker Cloud as this is where you will find support for this and many other autobuild features. Also, marking this thread as |
To clarify how this works (since I just did it for one of my own projects), here are the steps:
Now you're done and the image should be built from the new GitHub repository. |
I followed the above steps outlined by @michaelmior (thanks for that!). Although the image is now building from the correct source repo there is still an issue with some metadata on the Docker hub site. https://hub.docker.com/r/crayfishx/jerakia/ was moved from the GitHub repo crayfishx/jerakia-docker to crayfishx/jerakia - the build is working but there are two issues....
Anyone know what I need to do to get Docker Hub to "forget" the old builds and repo? Thanks |
@mghazizadeh Yes, you can change the repository in docker cloud, but I can't change the service (eg: I can't change the source from bitbucket to github). |
I understand that there are a lot of old services needed to be maintained but coming from the docs where it says that the hub.docker.php is the main Docker public registry and not having any advanced features there anymore is inconsistency and strange approach. Images are still pulled from hub.docker.com... Plus not to mention, stars are gone when recreating the repository on hub.docker.com :) |
@petk There is a possibility to create a new image, and then change Dockerfile for the current to
|
@kjeldflarup - that's not it, unfortunately. |
@crayfishx Did you find a way to change the link to the source repo and the dockerfiles details ? |
A few weeks ago there has been the announcement that Docker Cloud and Docker Store would now be part of Docker Hub: https://blog.docker.com/2018/12/the-new-docker-hub/ But it seems that it's still not possible to change the underlying GitHub repo of a Docker repo. I'm currently looking on @pkennedyr: You closed this issue two years ago. Maybe you can reopen it because according to the blog post Docker Hub is now the focus of development and the feature is really useful? |
For whatever reason (there are several) heroku/cedar is setup to build from tt/stack-images. We'd like to be able to change the source project to heroku/stack-images instead w/o having to nuke the automated build / project and break everyone's links.
The text was updated successfully, but these errors were encountered: