Skip to content

Commit 6adb74c

Browse files
dont check --no-cache arg in case of --cache-to
1 parent 118d4ce commit 6adb74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec-node/containerFeatures.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export async function extendImage(params: DockerResolverParameters, config: Subs
8282
args.push('--load'); // (short for --output=docker, i.e. load into normal 'docker images' collection)
8383
}
8484
}
85-
if (params.buildxCacheTo && !params.buildNoCache) {
85+
if (params.buildxCacheTo) {
8686
args.push('--cache-to', params.buildxCacheTo);
8787
}
8888

0 commit comments

Comments
 (0)