Skip to content

Commit

Permalink
fix: preserve cache across timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
rcwbr authored Nov 16, 2024
1 parent f6a47dd commit c0ae8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-cache-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ target "default" {
"type=registry,ref=${IMAGE_REF}-cache:${VERSION}"
]
cache-to = [
"type=registry,ref=${IMAGE_REF}-cache:${VERSION}"
"type=registry,rewrite-timestamp=true,mode=max,ref=${IMAGE_REF}-cache:${VERSION}"
]
output = [
"type=docker,name=${IMAGE_NAME}",
Expand Down

0 comments on commit c0ae8a6

Please sign in to comment.