diff --git a/src/applications/harbormaster/step/HarbormasterLeaseHostBuildStepImplementation.php b/src/applications/harbormaster/step/HarbormasterLeaseHostBuildStepImplementation.php --- a/src/applications/harbormaster/step/HarbormasterLeaseHostBuildStepImplementation.php +++ b/src/applications/harbormaster/step/HarbormasterLeaseHostBuildStepImplementation.php @@ -24,6 +24,7 @@ // Create the lease. $lease = id(new DrydockLease()) ->setResourceType('host') + ->setOwnerPHID($build_target->getPHID()) ->setAttributes( array( 'platform' => $settings['platform'],