diff --git a/lib/kamal/configuration.rb b/lib/kamal/configuration.rb index 827e1204..90c3f8cd 100644 --- a/lib/kamal/configuration.rb +++ b/lib/kamal/configuration.rb @@ -59,7 +59,7 @@ def initialize(raw_config, destination: nil, version: nil, validate: true) # Eager load config to validate it, these are first as they have dependencies later on @servers = Servers.new(config: self) - @registry = Registry.new(config: raw_config, secrets: secrets) + @registry = Registry.new(config: @raw_config, secrets: secrets) @accessories = @raw_config.accessories&.keys&.collect { |name| Accessory.new(name, config: self) } || [] @aliases = @raw_config.aliases&.keys&.to_h { |name| [ name, Alias.new(name, config: self) ] } || {}