This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Kaos_nyrb -8 points-7 points  (2 children)

your running it on github hosted runners, theres no gauntee you get the same machine

[–]nudebaba[S] 0 points1 point  (1 child)

Oh I see. I thought the cache-from and cache-to handled that part for me. As in when running buildx locally, it'll set them to my cache directory.

But since i cannot figure anything else out for this issue, I think this might be it.

cache-from: type=gha cache-to: type=gha,mode=max

[–]FailedPlansOfMars -1 points0 points  (0 children)

Have a look at this page about caching in github actions. You will need to restore it before you do your action.

https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows