Skip to content

Docker BuildKit with --mount=type=cache and mounted yarn cache seemingly empty always? #1283

Discussion options

You must be logged in to vote

It seems like the cache was empty because the key wasn't properly evaluating $YARN_CACHE_FOLDER. Instead best to just hardcode the paths and not from an ENV variable.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by samesfahani-tuplehealth
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@polarathene
Comment options

@strophy
Comment options

@ebuildy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants