Update RegistryService.java
take into account the imageName.getUser() when determining credentials for the pull
@@ -98,7 +98,7 @@ public class RegistryService {
imageName.getRegistry(),
registryConfig.getRegistry());
docker.pullImage(imageName.getFullName(),
- createAuthConfig(false, null, actualRegistry, registryConfig), actualRegistry);
+ createAuthConfig(false, imageName.getUser(), actualRegistry, registryConfig), actualRegistry);
log.info("Pulled %s in %s", imageName.getFullName(), EnvUtil.formatDurationTill(time));
pullManager.pulled(image);
