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