Skip to content

Commit

Permalink
Don't need to inspect the builder if pack
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhammond committed Sep 6, 2024
1 parent ae68193 commit 2c5f2a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/kamal/commands/builder/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2c5f2a7

Please sign in to comment.