build(server): delegate package and image publishing (#27915)