Builder::Remote.inspect_builder requires both checks to pass
Previously, if either of the builder or the remote context were in a bad state, the build would proceed anyway and fail.
This commit is contained in:
@@ -19,7 +19,7 @@ class Kamal::Commands::Builder::Remote < Kamal::Commands::Builder::Base
|
||||
|
||||
def inspect_builder
|
||||
combine \
|
||||
combine inspect_buildx, inspect_remote_context,
|
||||
combine(inspect_buildx, inspect_remote_context),
|
||||
[ "(echo no compatible builder && exit 1)" ],
|
||||
by: "||"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user