Skip to content

Commit

Permalink
Update RegistryService.java (fabric8io#1336)
Browse files Browse the repository at this point in the history
take into account the imageName.getUser() when determining credentials for the pull
  • Loading branch information
johanra authored Jun 4, 2020
1 parent 859ab6e commit 3ab43f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void pullImageWithPolicy(String image, ImagePullManager pullManager, Regi
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);

Expand Down

0 comments on commit 3ab43f2

Please sign in to comment.