File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -195,14 +195,16 @@ sub_build() {
195195 if [ " $branch " = " main" ] || [ " $branch " = " master" ]; then
196196 buildx_cmd+=( \
197197 --cache-from type=registry,ref=" $cache_ref_main " \
198- --cache-to type=registry,ref=" $cache_ref_main " ,mode=max )
198+ --cache-to type=registry,ref=" $cache_ref_main " ,mode=max \
199+ --no-cache-filter system )
199200 elif [[ " $branch " =~ ^dependabot/ ]]; then
200201 buildx_cmd+=( --cache-from type=registry,ref=" $cache_ref_main " )
201202 else
202203 buildx_cmd+=( \
203204 --cache-from type=registry,ref=" $cache_ref_main " \
204205 --cache-from type=registry,ref=" $cache_ref_branch " \
205- --cache-to type=registry,ref=" $cache_ref_branch " ,mode=max )
206+ --cache-to type=registry,ref=" $cache_ref_branch " ,mode=max \
207+ --no-cache-filter system )
206208 fi
207209
208210 buildx_cmd+=( --push --progress=plain )
You can’t perform that action at this time.
0 commit comments