Updated on 2025-08-13 GMT+08:00

ExecuteImage

Call the ExecuteImage extension to download public images from SWR to a custom executor and start the images.

Adding the Extension with GUI

Add the ExecuteImage extension when you orchestrate a pipeline. Set parameters as shown in Table 1.

Table 1 Parameter description

Parameter

Description

Name

Extension name.

  • Enter only letters, digits, hyphens (-), underscores (_), commas (,), semicolons (;), colons (:), periods (.), slashes (/), parentheses (), and spaces.
  • Enter 1 to 128 characters.

Image Attribute

Only public images are supported.

SWR Image Address

Address of the SWR images to be downloaded. To obtain the address:

  1. Log in to SWR.
  2. In the navigation pane, click My Images, click the image name to go to the image details page.
  3. Click to copy the image download command. The part following docker pull is the image path.

Startup Command

Container startup command. Enter Docker commands to run specific applications or scripts in the container.

Adding the Extension with YAML

Add the ExecuteImage extension when you orchestrate a pipeline. Configure the YAML syntax as follows:

  • ExecuteImage
    uses: official_docker_executor
        with:
          attribute: public
          image: swr.example.com/demo/springboot-helloworld:v1.1
          command: sh start.sh
    • attribute: Image attribute.
    • image: SWR image address.
    • command: Container startup command.