Skip to main content

local

sand steps push local

Push a new local step

sand steps push local [flags]

Examples

$ sand steps push local --name=local --volumeMountPath=./examples/workflows/multifile-docker --entrypoint="docker.handler"

✅ Step pushed successfully!
Step ID: wrk-1234
Step Version: 1

Options

      --baseImage string         Base container image to run from
--cluster string Cluster to route this action to (or via SAND_CLUSTER env variable)
--connector stringArray Connectors to set up (repeated flag)
--description string Resource description
--entrypoint string Code entrypoint function (defaults to main.handler)
-h, --help Help for local
--inputSchema string Input JSON schema (inline or filename)
--json Return json output
--name string Step name (required)
--network string Docker network to run the container in
--noRemotePush Skip pushing this to Docker (i.e. you know it already exists)
--outputSchema string Output JSON schema (inline or filename)
--prompt stringArray Prompts to set up (repeated flag)
--sync Wait for the step to be pushed before returning
--tag string Tag to be applied after push (implies sync)
--vars string Static variables in 'key1=val1,key2=val2' format
--volumeMountPath string Path to mount the local directory. Any files in this directory will be mounted into the container and can be executed on each run. (required)

SEE ALSO