CODEFRESH.IO DOCUMENTATION

Codefresh is a Docker-native CI/CD platform.

Instantly build , test and deploy Docker images.

Search results for "{{ search.query }}"

No results found for "{{search.query}}". 
View All Results

Working Directories

In the context of a step, a working directory can be of the following type:

Working Directory
Description

Empty

Defaults to the cloned directory of the service. Also can be available by variable ${{main_clone}}

Variable that contains the ID of a git-clone step

Runs the step within the cloned directory.

Variable that contains the ID of any other step

Runs the step within the same working directory that the specified was executed.
This option is not available for for Git Clone steps.

Absolute filesystem path

Treated as is within the container.

Relative filesystem path

Treated as relative path from the cloned directory of the service

'IMAGE_WORK_DIR'

When using a freestyle step, by default the working directory will be the cloned directory of the service. Use this value in-order to use the image working directory
for example:
working_directory: IMAGE_WORK_DIR

Working Directories