Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a7571d

Browse files
Clarify context variables
1 parentb563929 commit6a7571d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎_docs/codefresh-yaml/variables.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Context related variables are created dynamically during the workflow execution
120120
| Variable| Description|
121121
| -------------------------------------------------| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
122122
|**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.|
124124

125125
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/)):
126126

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp