Skip to content

Commit

Permalink
Use default registry credentials when they are set
Browse files Browse the repository at this point in the history
  • Loading branch information
tschroeder-zendesk committed Feb 21, 2024
1 parent 9cf9a65 commit c4a5e4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/kitchen/driver/dokken.rb
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,8 @@ def docker_creds_for_image(image)
c = docker_config_creds[image_registry]
c.respond_to?(:call) ? c.call : c
elsif docker_config_creds.key?(default_registry)
docker_config_creds[default_registry]
c = docker_config_creds[default_registry]
c.respond_to?(:call) ? c.call : c
end
end

Expand Down

0 comments on commit c4a5e4b

Please sign in to comment.