Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Commit f0793c1

Browse files
Merge artifact registries
1 parent 573a415 commit f0793c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/kube_deploy_tools/deploy_config_file.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ def extend!(other)
248248
# the 'other' hash wins.
249249
@image_registries = other.image_registries.merge(@image_registries)
250250

251+
@artifact_registries = other.artifact_registries.merge(@artifact_registries)
252+
253+
@artifact_registry = other.artifact_registry if @artifact_registry.empty?
254+
251255
# Same behavior as above for #default_flags.
252256
@default_flags = other.default_flags.merge(@default_flags)
253257

0 commit comments

Comments
 (0)