From 3d7e9395cb756eff9f1c3f3f0083a6bd8ed8733a Mon Sep 17 00:00:00 2001 From: AndreasHeine Date: Thu, 28 Sep 2023 11:04:55 +0200 Subject: [PATCH] add: pass authh options to docker-compose pull --- compose.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose.js b/compose.js index fad4d1d..96103ba 100644 --- a/compose.js +++ b/compose.js @@ -59,14 +59,14 @@ class Compose { } } - async pull(serviceN, options) { + async pull(serviceN, options, auth) { options = options || {}; var streams = []; var serviceNames = (serviceN === undefined || serviceN === null) ? tools.sortServices(this.recipe) : [serviceN]; for (var serviceName of serviceNames) { var service = this.recipe.services[serviceName]; try { - var streami = await this.docker.pull(service.image); + var streami = await this.docker.pull(service.image, auth); streams.push(streami); if (options.verbose === true) {