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

Add a method to force build when re-using an image with git:from-image #6847

Open
josegonzalez opened this issue Apr 20, 2024 · 1 comment
Open

Comments

@josegonzalez
Copy link
Member

Description of feature

When an image tag is reused - like latest - Dokku will not pull the new version and skip a build. We should allow users to override that via a --force flag or similar, triggering a deploy (which is effectively just a ps:rebuild at that stage). This should not be the default.

@josegonzalez
Copy link
Member Author

Probably setting a property - like build-timestamp - and then using that property in the built image would be enough. If --force isn't set, then we use the existing value. If it is set, we update the value and inject it.

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

No branches or pull requests

1 participant