Help Center>
CodeArts Build>
User Guide>
Configuring Build Actions>
Code-based Build>
Configuring a Task>
Using YAML to Run Docker Commands
Updated on 2024-01-23 GMT+08:00
Using YAML to Run Docker Commands
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 |
Parent topic: Configuring a Task
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot