Skip to content

Commit

Permalink
ci(root): add Docker build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
NexZhu committed Dec 12, 2023
1 parent f15bf65 commit 563ffb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions apps/desktop/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"type=edge,branch=main",
"type=sha,enable={{is_default_branch}},prefix=sha-",
]
}
// "cache-from": ["type=registry,ref=daotl/web-monorepo-starter-desktop:buildcache-{{branch}}"],
// "cache-to": ["type=registry,ref=daotl/web-monorepo-starter-desktop:buildcache-{{branch}},mode=max"]
},
"cache-from": ["type=registry,ref=daotl/web-monorepo-starter-desktop:buildcache-main"],
"cache-to": ["type=registry,ref=daotl/web-monorepo-starter-desktop:buildcache-main,mode=max"]
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions apps/web/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"type=edge,branch=main",
"type=sha,enable={{is_default_branch}},prefix=sha-"
]
}
// "cache-from": ["type=registry,ref=daotl/web-monorepo-starter-web:buildcache-{{branch}}"],
// "cache-to": ["type=registry,ref=daotl/web-monorepo-starter-web:buildcache-{{branch}},mode=max"]
},
"cache-from": ["type=registry,ref=daotl/web-monorepo-starter-web:buildcache-main"],
"cache-to": ["type=registry,ref=daotl/web-monorepo-starter-web:buildcache-main,mode=max"]
}
}
}
Expand Down

0 comments on commit 563ffb2

Please sign in to comment.