Skip to content

Commit

Permalink
fix: Use default registry credentials when they are set (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
tschroeder-zendesk authored Oct 23, 2024
1 parent 93d98d3 commit 5e7f3e6
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 5e7f3e6

Please sign in to comment.