diff --git a/endpoints/webhooks.py b/endpoints/webhooks.py index d2beccc2d..65a2ec403 100644 --- a/endpoints/webhooks.py +++ b/endpoints/webhooks.py @@ -87,7 +87,7 @@ def build_trigger_webhook(namespace, repository, trigger_uuid): 'resource_key': dockerfile_id, } build_request = model.create_repository_build(trigger.repository, token, - job_config, name) + job_config, name, trigger) dockerfile_build_queue.put(json.dumps({ 'build_uuid': build_request.uuid,