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 11fc0db
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions lib/utils/device/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,17 +527,16 @@ 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 = task.dockerOpts || {};
task.dockerOpts.cachefrom = images;
task.dockerOpts.labels = {
'io.resin.local.image': '1',
'io.resin.local.service': task.serviceName,
};
task.dockerOpts.t = generateImageName(task.serviceName);
task.dockerOpts.nocache = opts.nocache;
task.dockerOpts.forcerm = true;
task.dockerOpts.pull = opts.pull;
if (task.external) {
task.dockerOpts.authconfig = await getAuthConfigObj(
task.imageName!,
Expand Down

0 comments on commit 11fc0db

Please sign in to comment.