Skip to content
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

try to fix docker buildkit caching #5

Merged
merged 1 commit into from
Oct 3, 2021
Merged

try to fix docker buildkit caching #5

merged 1 commit into from
Oct 3, 2021

Conversation

clux
Copy link
Member

@clux clux commented Oct 3, 2021

some more tests

@clux
Copy link
Member Author

clux commented Oct 3, 2021

This has been pretty frustrating. Nothing seems to work except straight layer caching. Maybe that is all that is supported. Maybe it's too soon to battle with both buildx cache and the experimental mount cache.

It's a shame though cause this works perfectly locally. docker buildx has its own cache that gets mounted which makes it super quick to rebuild without needing to bake things through cargo-chef or similar.

All the usage examples i can find seem to do things the same way I do, but none of them seem to use --mount=type=cache on top of it.

Anyway, going to leave this here for a while. Don't have more time to waste on this experiment now.

Signed-off-by: clux <sszynrae@gmail.com>

ping hooks - 2021-10-03

Signed-off-by: clux <sszynrae@gmail.com>

try something else with a new scope

Signed-off-by: clux <sszynrae@gmail.com>

another cache check

Signed-off-by: clux <sszynrae@gmail.com>

try again different cache setup

Signed-off-by: clux <sszynrae@gmail.com>

another test of gha cache

Signed-off-by: clux <sszynrae@gmail.com>

don't think this will work

Signed-off-by: clux <sszynrae@gmail.com>

try without max mode

Signed-off-by: clux <sszynrae@gmail.com>

now try mutating the .rs..

Signed-off-by: clux <sszynrae@gmail.com>

ok, try to just get the non-experimental thing to to wrk

Signed-off-by: clux <sszynrae@gmail.com>

another .rs mod

Signed-off-by: clux <sszynrae@gmail.com>

some debug

Signed-off-by: clux <sszynrae@gmail.com>

try more weird stuff

Signed-off-by: clux <sszynrae@gmail.com>

clear out failed experiments

Signed-off-by: clux <sszynrae@gmail.com>

how's the cache doing

Signed-off-by: clux <sszynrae@gmail.com>

merge in minor changes

Signed-off-by: clux <sszynrae@gmail.com>

notes

Signed-off-by: clux <sszynrae@gmail.com>
@clux clux marked this pull request as ready for review October 3, 2021 16:44
@clux clux merged commit 4fece2e into master Oct 3, 2021
@clux clux deleted the cache-fix branch October 3, 2021 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant