def METHOD_NAME(
    worker_id: str,
    build_id: str,
    verdict: str,
    report: str,
):
    """Publish report to Firebase realtime database"""
    # Read Firebase service account config from envirenment
    firebase_config = os.environ["FIREBASE_SERVICE_CONFIG"]
    config = json.loads(firebase_config)
    cred = credentials.Certificate(config)
    initialize_app(
        cred, {
            'databaseURL': 'https://magma-ci-default-rtdb.firebaseio.com/',
        },
    )
    report_dict = {
        'report': report,
        'timestamp': int(time.time()),
        'verdict': verdict,
    }
    ref = db.reference('/workers')
    reports_ref = ref.child(worker_id).child('reports').child(build_id)
    reports_ref.set(report_dict)