Skip to content

Commit

Permalink
fixup! Update balena-multibuild to 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robertgzr committed Nov 5, 2021
1 parent 8c5f8db commit 2017bea
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions lib/utils/device/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,15 +528,18 @@ async function assignDockerBuildOpts(
await Promise.all(
buildTasks.map(async (task: BuildTask) => {
task.dockerOpts = {
cachefrom: images,
labels: {
'io.resin.local.image': '1',
'io.resin.local.service': task.serviceName,
},
t: generateImageName(task.serviceName),
nocache: opts.nocache,
forcerm: true,
pull: opts.pull,
...(task.dockerOpts || {}),
...({
cachefrom: images,
labels: {
'io.resin.local.image': '1',
'io.resin.local.service': task.serviceName,
},
t: generateImageName(task.serviceName),
nocache: opts.nocache,
forcerm: true,
pull: opts.pull,
}),
};
if (task.external) {
task.dockerOpts.authconfig = await getAuthConfigObj(
Expand Down

0 comments on commit 2017bea

Please sign in to comment.