Run pre-connect hooks before building
They might be needed for remote builds or the pre-build hook.
This commit is contained in:
@@ -14,6 +14,10 @@ class Kamal::Cli::Build < Kamal::Cli::Base
|
||||
def push
|
||||
cli = self
|
||||
|
||||
# Ensure pre-connect hooks run before the build, they may needed for a remote builder
|
||||
# or the pre-build hooks.
|
||||
pre_connect_if_required
|
||||
|
||||
ensure_docker_installed
|
||||
login_to_registry_locally
|
||||
|
||||
|
||||
Reference in New Issue
Block a user