Add in pack builder inspect for configured builder
This commit is contained in:
@@ -34,7 +34,7 @@ class Kamal::Commands::Builder::Base < Kamal::Commands::Base
|
||||
end
|
||||
|
||||
def inspect_builder
|
||||
docker :buildx, :inspect, builder_name unless docker_driver? || pack?
|
||||
docker :buildx, :inspect, builder_name unless docker_driver?
|
||||
end
|
||||
|
||||
def build_options
|
||||
|
||||
@@ -16,6 +16,11 @@ class Kamal::Commands::Builder::Pack < Kamal::Commands::Builder::Base
|
||||
docker(:push, config.latest_image)
|
||||
end
|
||||
|
||||
def info
|
||||
pack :builder, :inspect, pack_builder
|
||||
end
|
||||
alias_method :inspect_builder, :info
|
||||
|
||||
private
|
||||
def platform
|
||||
"linux/#{local_arches.first}"
|
||||
|
||||
Reference in New Issue
Block a user