You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A common pattern among all build workflows is using cache mounts. But in order to use it, we need to provide a cache key. If we're using the same HLB for multiple projects, or multiple users using the same BuildKit we need their cache keys to not collide.
For example, we can do:
run "foobar" with option {
mount fs { scratch; } "/cache" with option {
cache string { hash string { getEnv "CWD"; }; }
}
}
The text was updated successfully, but these errors were encountered:
A common pattern among all build workflows is using cache mounts. But in order to use it, we need to provide a cache key. If we're using the same HLB for multiple projects, or multiple users using the same BuildKit we need their cache keys to not collide.
For example, we can do:
The text was updated successfully, but these errors were encountered: