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