COMMAND

View as Markdown
yaml
name: "input_COMMAND"
inputs:
 command_field:
   name: CMD
   type: COMMAND
   default: "ls -al"
commands:
- bash -c "$command_field"
docker_image_name: "ubuntu"
docker_image_tag: "latest"
volume_mappings:
 - /:/buddy

Image loading...Custom action with COMMAND input

In this case, the container has a filesystem attached so that the commands can be run on repository files.

Info
We recommend using bash -c “$INPUT_NAME" as the execution command for the CMD input. This way the command will always be run properly, regardless of the number of lines.

Last modified on Sep 17, 2026