Skip to content

Commit

Permalink
Add in pack builder inspect for configured builder
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhammond committed Oct 14, 2024
1 parent 89b4415 commit 1d55c59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kamal/commands/builder/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def info
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
Expand Down
5 changes: 5 additions & 0 deletions lib/kamal/commands/builder/pack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ def push
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}"
Expand Down

0 comments on commit 1d55c59

Please sign in to comment.