Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Run a shell script freestyle
Run any shell command on top of a Docker image
arguments
Freestyle:
title: Running docker image
type: freestyle
working_directory: '${{CLONE_STEP_NAME}}'
arguments:
image: 'quay.io/codefreshplugins/alpine:3.8'
commands:
- echo "Hello world"
- echo "asdasd"
Freestyle:
title: Running docker image
type: freestyle
working_directory: /
arguments:
image: 'quay.io/codefreshplugins/alpine:3.8'
commands:
- echo "Hello world"
- echo "asdasd"