dokku/dokku

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

Opened this issue · 1 comments

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.

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.