Skip to content
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 more automatic rebuilds on upstream images pushes? #1717

Open
tyranron opened this issue Dec 14, 2018 · 21 comments
Open

No more automatic rebuilds on upstream images pushes? #1717

tyranron opened this issue Dec 14, 2018 · 21 comments

Comments

@tyranron
Copy link

tyranron commented Dec 14, 2018

With recent Docker Hub update it seems that there is no way anymore to automatically rebuild images when another image is pushed.

In previous Docker Hub design this setting was on the Build Settings tab after the Build Rulessection and before the Build Triggers section. It was accepting Docker Hub repository names (like alpine, php, rustlang/rust, etc). If some of specified repos pushed tags the build automatically triggered for the current repo. This was a huge help for maintaining image, as allowed cascade rebuilds to keep images up-to-date.

Currently, there is no such section anymore in build settings:
scc8

It's highly desirable to return those feature, or provide a reasonable alternative. 🙏🙏🙏

@tyranron tyranron changed the title No more automatic rebuilds on upstream images pushes No more automatic rebuilds on upstream images pushes? Dec 14, 2018
@mark-stopka
Copy link

Any reaction on this from Docker? I think it was widely used functionality...

@mitar
Copy link

mitar commented Dec 28, 2018

I agree. I sent them a support e-mail but didn't get any response. It seems to me that old images are still supporting this and are being rebuild when a parent image is pushed, but there is nowhere in UI to configure/see this.

This is for us the main reason we are using Docker Hub over other solutions. I am glad about the UI update, but this feature is critical for us.

@frol
Copy link

frol commented Dec 28, 2018

I have also sent an e-mail to hub-feedback@docker.com a few days ago and no response since then.

@mitar
Copy link

mitar commented Feb 6, 2019

Has anyone got any response? The funny thing is that we are paying for Docker Hub mostly because of this feature.

I was even thinking that this could be done as a simple 3rd party service where you would register your image and configure it so that Docker Hub POSTs there every time image is build. And then you could also register other images to be triggered when the original image is rebuilt.

@frol
Copy link

frol commented Feb 6, 2019

@mitar I have not received any response from Docker Hub team what so ever even after they silently dropped my 10M+ image (#1741).

@mitar
Copy link

mitar commented Feb 6, 2019

Yes, I have seen that issue. :-( Not fun.

@stayallive
Copy link

stayallive commented Feb 6, 2019

It seems there is an old build system (hubbuild) and a new one that is enabled for new images since a few of my newer have the repository links but older don't.

However it looks like you can switch over. It will keep your "old" build settings active too... so you might want to disable them.

Go to: https://cloud.docker.com/repository/docker/<accountname>/<respository>/builds

^ change out accountname & repository for your own and use the button in the top right to configure automated builds. When that's setup you can enable repository links.

Not sure what the actual deal is... but this works for me :)

@mitar
Copy link

mitar commented Feb 6, 2019

Interesting. So what I see is that for old images links still exist and get triggered, I just do not see them/are able to configure them.

But this is new. When they released this there was no such option. Now I see that for the new image I created after the release, under "configure automatic builds" there is an option "repository links" and I can enable image to be rebuild when FROM image gets pushed. So it is not possible to configure anymore custom links, but just FROM. For me, this is good enough.

In tooltip there is a comment though: "Only works for non-official images." So if my image uses official image in FROM I cannot make it re-build when official image changes?

@lshep
Copy link

lshep commented Feb 26, 2019

I'm finding that even with the REPOSITORY LINKS Enable for Base image still does not work. I have two repositories and one image is built from the other bioconductor/devel_base2 and bioconductor/devel_core2. I have a FROM bioconductor/devel_base2 in the Dockerfile of bioconductor/devel_core2 and the enable from Base image is selected and saved; but when I rebuild devel_base2 either interactively or a manual trigger - a new build of devel_core2 is not triggered. Please bring this feature back! I feel like it had to have been highly used.
I really would need the feature of only being autobuilt on an update to the upstream image and not on pushes to the branch and whatnot.

@tonglil
Copy link

tonglil commented Aug 8, 2019

This hasn't been working for the last 2 weeks for repos I have that depend on https://hub.docker.com/r/google/cloud-sdk/

@ruffsl
Copy link

ruffsl commented Sep 26, 2019

I've also seen this feature suddenly stop working. From my logs, it was working about a month ago.

@znmeb
Copy link

znmeb commented Sep 28, 2019

I just discovered this today - my images haven't been rebuilt in three months, so it broke some time in June :-(

I just looked at the settings - it was set to automatically rebuild if the base image changed. But apparently there's a new piece of fine print - it only works for non-official base images. All my base images are official, like Postgres and pgAdmin4.

@Edzilla2000
Copy link

I just discovered this today - my images haven't been rebuilt in three months, so it broke some time in June :-(

I just looked at the settings - it was set to automatically rebuild if the base image changed. But apparently there's a new piece of fine print - it only works for non-official base images. All my base images are official, like Postgres and pgAdmin4.

I have the same issue, I use an official base image and my image isn't rebuild anymore :s

@Al2Klimov
Copy link

Al2Klimov commented Feb 3, 2020

All of you – complain.

I – just fixed it by myself: https://hub.docker.com/r/grandmaster/dockerhub-chainreactor

😎

@github-actions
Copy link

github-actions bot commented May 8, 2021

We are clearing up our old issues and your ticket has been open for one year with no activity. Remove stale label or comment or this will be closed in 15 days.

@github-actions github-actions bot added the Stale label May 8, 2021
@ruffsl
Copy link

ruffsl commented May 14, 2021

Let's keep this ticket open while we wait for an official response...

@github-actions github-actions bot removed the Stale label May 15, 2021
@github-actions
Copy link

We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days.

@github-actions github-actions bot added the Stale label Nov 11, 2021
@ddriddle
Copy link

Any chance this will ever be fixed?

@github-actions github-actions bot removed the Stale label Nov 12, 2021
@fsacer
Copy link

fsacer commented Jan 22, 2022

I also think that from a security perspective this is a much-needed feature, hopefully, we can get it back in 2022?

@abunch
Copy link

abunch commented Jun 16, 2023

Maybe 2023 is the year they'll get Repository Links working again...or maybe they should remove the option from the interface and stop misleading folks.

@janhoy
Copy link

janhoy commented Mar 13, 2024

How about 2024? 🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests