Examples of fingerprinting checks for docker builds? #1128
Unanswered
deviantintegral
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At https://taskfile.dev/usage/#using-programmatic-checks-to-indicate-a-task-is-up-to-date it says:
It's unclear to me how you could use either of those additional variables to fingerprint something like a docker build. So far, we've not done any fingerprinting of jobs that build containers, instead letting
docker build...
decide what needs to be done.Could someone share examples of how they are using those variables for out of band refreshes? The best I can think of is using
docker build --label
to include the checksum. But even then, that wouldn't help in the case where FROM points to a moving tag likelatest
. I guess you could inspect the image to figure that out. But, this all seems like a lot of work when a fully cached docker build is pretty quick anyways.Beta Was this translation helpful? Give feedback.
All reactions