From 2c5f2a7ce0d0c999c934e1c5a9be5bfc479f28d5 Mon Sep 17 00:00:00 2001 From: Nick Hammond Date: Thu, 5 Sep 2024 22:25:50 -0700 Subject: [PATCH] Don't need to inspect the builder if pack --- lib/kamal/commands/builder/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kamal/commands/builder/base.rb b/lib/kamal/commands/builder/base.rb index 4dfaf46cd..a04548180 100644 --- a/lib/kamal/commands/builder/base.rb +++ b/lib/kamal/commands/builder/base.rb @@ -6,7 +6,7 @@ class BuilderError < StandardError; end delegate :argumentize, to: Kamal::Utils delegate \ :args, :secrets, :dockerfile, :target, :arches, :local_arches, :remote_arches, :remote, - :pack_builder, :pack_buildpacks, + :pack?, :pack_builder, :pack_buildpacks, :cache_from, :cache_to, :ssh, :driver, :docker_driver?, to: :builder_config @@ -34,7 +34,7 @@ def info end def inspect_builder - docker :buildx, :inspect, builder_name unless docker_driver? + docker :buildx, :inspect, builder_name unless docker_driver? || pack? end def build_options