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
WAIT/END doesn't export to remote cache #2178
Comments
I suspect we will need to extend
to support referencing
|
debugging notes: I've been running:
under when I run
note that it has a where as in the
|
The above reflect the fact that
is only set for the https://github.com/earthly/buildkit/blob/earthly-main/exporter/containerimage/writer.go#L167 gets set to nil, which then propigates to |
The cacheExporter data is actually sent in -- there shouldn't be a need to update the protos; I think https://github.com/earthly/buildkit/blob/f46745e0958c6942be03b9d49684d804e7bdffc4/solver/llbsolver/bridge.go#L246-L256 might be the problem. Before we call I tried some code similar to:
I tried reconstructing the
but it must be a The first Ultimately I think we need to re-evaluate how the |
consider an
Earthfile
like:The
SAVE IMAGE --cache-hint
doesn't get triggered by theEND
, even though we wait forSAVE ARTIFACT
which depends on the previous llb states being executed.based on a post by @glehmann in #988 (comment)_
The text was updated successfully, but these errors were encountered: