-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Don't build docker containers if we aren't gonna push them #1476
Comments
I disagree with the premise of the issue entirely, for historical reasons, github actions or no 😄 I want to always build the docker images, even if we don't push them. This would prevent the situation, which has happened in the past, of I'd honestly want to go completely in the other direction to what you propose - build all packages all the time, including OS packages and installers, and only push the ones that are for tagged releases. Or maybe not all of the time, but for sure on every |
Also, the |
Then maybe move it only for it getting build on |
Not completely opposed to that, but still seems like a downgrade. For example, you might want to make changes to the Dockerfile or adjacent things (like changing Go versions or messing around with modules, for example)... Ideally, the If we do this, and I think it can be done with github actions somewhat easily (https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts), then all of the builds can happen for pretty much every commit in every PR... |
I doubt we will find anything by constantly building them. But we currently do.
This adds another 1m and 30s to each build for no reason IMO.
This can probably wait for us to move to github actions, but maybe it will be fairly easy using the
filters
?The text was updated successfully, but these errors were encountered: