Skip to content

Commit

Permalink
Fixup cachefrom option generation
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Ken Bannister <kb2ma@runbox.com>
  • Loading branch information
kb2ma committed Feb 27, 2025
1 parent 1b9d908 commit 4e80de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/multibuild/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function generateBuildTasks(
dockerOpts: {
// TODO: JSON serialization should no longer be necessary
// if https://github.com/apocas/dockerode/pull/793 is merged
...(cachefrom ? { cachefrom: JSON.stringify(cachefrom) } : {}),
...(cache_from ? { cachefrom: JSON.stringify(cache_from) } : {}),

Check failure on line 83 in lib/multibuild/utils.ts

View workflow job for this annotation

GitHub Actions / Flowzone / Test npm (v20.18.3)

Cannot find name 'cache_from'. Did you mean 'cachefrom'?

Check failure on line 83 in lib/multibuild/utils.ts

View workflow job for this annotation

GitHub Actions / Flowzone / Test npm (v20.18.3)

Cannot find name 'cache_from'. Did you mean 'cachefrom'?

Check failure on line 83 in lib/multibuild/utils.ts

View workflow job for this annotation

GitHub Actions / Flowzone / Test npm (v22.14.0)

Cannot find name 'cache_from'. Did you mean 'cachefrom'?

Check failure on line 83 in lib/multibuild/utils.ts

View workflow job for this annotation

GitHub Actions / Flowzone / Test npm (v22.14.0)

Cannot find name 'cache_from'. Did you mean 'cachefrom'?
...(shmsize ? { shmsize } : {}),
...(target ? { target } : {}),
...(extrahosts ? { extrahosts } : {}),
Expand Down

0 comments on commit 4e80de4

Please sign in to comment.