Validate multiarch configuration
Remote and local are only allowed when multiarch is enabled. Remote requires a host and arch, local only requires an arch.
This commit is contained in:
committed by
Donal McBreen
parent
d6a5cf3c78
commit
374c117b79
@@ -5,7 +5,7 @@ class Kamal::Commands::Builder::Base < Kamal::Commands::Base
|
||||
|
||||
delegate :argumentize, to: Kamal::Utils
|
||||
delegate \
|
||||
:args, :secrets, :dockerfile, :target, :local_arch, :local_host, :remote_arch, :remote_host,
|
||||
:args, :secrets, :dockerfile, :target, :local_arch, :remote_arch, :remote_host,
|
||||
:cache_from, :cache_to, :multiarch?, :ssh,
|
||||
to: :builder_config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user