Skip to content

Commit

Permalink
Push build cache with image manifest
Browse files Browse the repository at this point in the history
Fix "manifest blob unknown" error when pushing buildcache as per
docker/buildx#271 (comment)
  • Loading branch information
HippocampusGirl committed Dec 6, 2024
1 parent 894dd6c commit 22a286c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
cache_from = f"type=registry,ref={path}:buildcache"
output = dict(
cache_from=cache_from,
cache_to=f"{cache_from},compression=zstd,mode=max" if push else "",
cache_to=f"{cache_from},compression=zstd,mode=max,image-manifest=true" if push else "",
labels=[
f'org.opencontainers.image.created="{pushed_at}"',
'org.opencontainers.image.authors="Lea Waller <[email protected]>"',
Expand Down

0 comments on commit 22a286c

Please sign in to comment.