dnephin / dobi

A build automation tool for Docker applications
https://dnephin.github.io/dobi/
Apache License 2.0
309 stars 36 forks source link

Does a image build can be seen as 'fresh'? #187

Closed siredmar closed 4 years ago

siredmar commented 4 years ago

I have the situation that i have a docker image i want to build. This image gets used by several jobs. I know that the image pull once will not be performed if the image is already present. Therefore dependent jobs will only be called if their own sources/artifact configures dictates it. However when i am building the image via context/dockerfile the dependency tree of those jobs that might not run because of their sources/artifacts are run every time. This might be by design because no job does know about any previously not met dependency. But still: is there any way for me to mark the image as "don't rebuild this all the time"?

siredmar commented 4 years ago

Does a image build can be seen as 'fresh'? -> It does.