buildcache: fix hard-coded, outdated layout version (#45645)
This commit is contained in:
parent
246eeb2b69
commit
ce7218acae
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ def _push_oci(
|
|||
|
||||
def extra_config(spec: Spec):
|
||||
spec_dict = spec.to_dict(hash=ht.dag_hash)
|
||||
spec_dict["buildcache_layout_version"] = 1
|
||||
spec_dict["buildcache_layout_version"] = bindist.CURRENT_BUILD_CACHE_LAYOUT_VERSION
|
||||
spec_dict["binary_cache_checksum"] = {
|
||||
"hash_algorithm": "sha256",
|
||||
"hash": checksums[spec.dag_hash()].compressed_digest.digest,
|
||||
|
|
Loading…
Reference in a new issue