forked from earthly/earthly
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
What existing functionality needs improvement?
We have EARTHLY_GIT_SHORT_HASH, and EARTHLY_GIT_HASH but git has a content addressable tree in it.
Ideally images could be tagged with EARTHBUILD_GIT_CONTENT_HASH=$(git rev-parse $EARTHLY_GIT_HASH^{tree}).
We should popularise that content addressability can exist from git repos and that if you tag with it, you'll get some nice cache hits on images already existing in repos.
Is there a reason not to promote people creating images and tagging them with the git tree hash? It seems stable against squashes and rebases - it only cares about the contents that's checked out it seems. Am I missing something or is this awesome?
Expected Behavior
implemented
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels