mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-12 22:30:48 +08:00
为构建参数添加 BUILDKIT_INLINE_CACHE 选项,以优化 Docker 构建缓存
This commit is contained in:
@ -86,6 +86,7 @@ jobs:
|
|||||||
load: true
|
load: true
|
||||||
build-args: |
|
build-args: |
|
||||||
SHA=${{ github.sha }}
|
SHA=${{ github.sha }}
|
||||||
|
BUILDKIT_INLINE_CACHE=1
|
||||||
# #####
|
# #####
|
||||||
# scope: https://github.com/docker/build-push-action/issues/252#issuecomment-881050512
|
# scope: https://github.com/docker/build-push-action/issues/252#issuecomment-881050512
|
||||||
# cache-to: mode=max
|
# cache-to: mode=max
|
||||||
|
Reference in New Issue
Block a user