Skip to content

Commit

Permalink
dont check --no-cache arg in case of --cache-to
Browse files Browse the repository at this point in the history
  • Loading branch information
robjackstewart committed Apr 10, 2024
1 parent 118d4ce commit 6adb74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spec-node/containerFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export async function extendImage(params: DockerResolverParameters, config: Subs
args.push('--load'); // (short for --output=docker, i.e. load into normal 'docker images' collection)
}
}
if (params.buildxCacheTo && !params.buildNoCache) {
if (params.buildxCacheTo) {
args.push('--cache-to', params.buildxCacheTo);
}

Expand Down

0 comments on commit 6adb74c

Please sign in to comment.