The builder-docker-publish command publishes a Docker image to a registry.
JSON Input Data Format

    {
        "pid": string,
        "cloudid": string,
        "registry": string,
        "tag": string
    }

pid * | Specifies the build space ID, which can be any value, but must remain consistent throughout the build process. In Flow-fx, this ID is automatically set to match the ID of the Flow-fx.
cloudid * | Specifies the {ANYNODE} ID on which the builder will be activated.
registry * | Specifies the registry where the Docker image will be published, which includes: sky.docker:575 Is the registry for the {ANYNODE} specified in the cloudid field. sky.central.docker:575 Is the registry of the first {ANYNODE} that was deployed, typically used only for Serverless app publishing.
tag * | Specifies the tag name for the Docker image.

* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.
Successful Response

    {
        "result": "OK",
        "payload": "...the output of the command..."
    }

Failed Response

    {
        "result": "ERR",
        "message": "Error message ..."
    }