Updated on 2026-01-08 GMT+08:00

Running Docker Commands to Operating Images

Graphical Build

Add Run Docker Commands, when configuring build actions.

The parameters are described in the following table.

Parameter

Description

Action Name

Name of a build action. It can be customized.

Tool Version

Select a tool version.

Commands

Click Add to add a command, and configure the command as required. View the Docker Docs.

Code-based Build

1
2
3
4
5
6
7
version: 2.0 # The value must be 2.0.
steps:
  BUILD:
    - docker:
          inputs:
            command: |
              docker pull swr.xx-xxxxx-x.myxxcloud.com/codeci/dockerindocker:dockerindocker18.09-1.3.2

Parameter

Type

Description

Mandatory

Default Value

command

String

Each command takes up one line. Supported docker commands: build, tag, push, pull, login, logout, and save.

Yes

None