You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
|**Working Directories**| For example, you can set the working directory of step`A` with a variable named after a previously executed step, step`B`. Therefore, setting step`A` with {% raw %}`working-directory:${{B}}`{% endraw %} means that step`A` executes in the same working directory as step`B`.|
123
-
|**Images**| You can set the candidate field of the push step with a variable named after a previously executed build step. Since the details of a created image are not necessarily known ahead of time, the variable can create an association to an optionally dynamic image name. Therefore, setting push step`A` with {% raw %}`candidate:${{B}}`{% endraw %} means that step`A` will push the image built by step`B`.|
123
+
|**Images**| You can set the candidate field of the push step with a variable named after a previously executed build step. Since the details of a created image are not necessarily known ahead of time, the variable can create an association to an optionally dynamic image name. Therefore, setting push step`A` with {% raw %}`candidate:${{B}}`{% endraw %} means that step`A` will push the image built by step`B`.Note that this capability works only for`candidate` and`image` fields in Codefresh steps.|
124
124
125
125
A very common pattern in Codefresh pipelines, is to create a Docker image in one step, and then run a command on its container in the next step (e.g. run[unit tests]({{site.baseurl}}/docs/testing/unit-tests/)):