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
Copy file name to clipboardExpand all lines: _docs/codefresh-yaml/steps/build.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,10 +79,10 @@ step_name:
79
79
| `dockerfile` | The path to the `Dockerfile` from which the image is built. The default is `Dockerfile`. | Default |
80
80
| `image_name` | The name for the image you build. | Required |
81
81
| `tag` | The tag that is assigned to the image you build. <br>The default is the name of the branch or revision that is built. | Default |
82
-
| `tags` | Multiple tags under which to push the image. [This property is only available in the new opt-in build step syntax]({{site.baseurl}}/docs/docker-registries/cfcr-deprecation/#using-a-default-registry-for-pipelines). Use either this or `tag`. This is an array, so should be of the following style: <br> {::nomarkdown}<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">tags</span><span class="pi">:</span><br><span class="pi">-</span> <span class="s">tag1</span><br><span class="pi">-</span> <span class="s">tag2</span><br><span class="pi">-</span> <span class="s">{% raw %}${{CF_BRANCH_TAG_NORMALIZED}}{% endraw %}</span><br><span class="pi">-</span> <span class="s">tag4</span></code></pre></figure>{:/}or<br>{::nomarkdown}<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">tags</span><span class="pi">:</span> <span class="pi">[</span> <span class="s1">'</span><span class="s">tag1'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">tag2'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">{% raw %}${{CF_BRANCH_TAG_NORMALIZED}}{% endraw %}'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">tag4'</span> <span class="pi">]</span></code></pre></figure>{:/} | Optional |
83
-
| `registry` | The registry logical name of one of the inserted registries from the integration view.[This property is only available in the new opt-in build step syntax]({{site.baseurl}}/docs/docker-registries/cfcr-deprecation/#using-a-default-registry-for-pipelines).<br>The default value will be your default registry [if you have more than one]({{site.baseurl}}/docs/docker-registries/external-docker-registries/). | Optional |
82
+
| `tags` | Multiple tags under which to push the image. Use either this or `tag`. This is an array, so should be of the following style: <br> {::nomarkdown}<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">tags</span><span class="pi">:</span><br><span class="pi">-</span> <span class="s">tag1</span><br><span class="pi">-</span> <span class="s">tag2</span><br><span class="pi">-</span> <span class="s">{% raw %}${{CF_BRANCH_TAG_NORMALIZED}}{% endraw %}</span><br><span class="pi">-</span> <span class="s">tag4</span></code></pre></figure>{:/}or<br>{::nomarkdown}<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">tags</span><span class="pi">:</span> <span class="pi">[</span> <span class="s1">'</span><span class="s">tag1'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">tag2'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">{% raw %}${{CF_BRANCH_TAG_NORMALIZED}}{% endraw %}'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">tag4'</span> <span class="pi">]</span></code></pre></figure>{:/} | Optional |
83
+
| `registry` | The registry logical name of one of the inserted registries from the integration view. <br>The default value will be your default registry [if you have more than one]({{site.baseurl}}/docs/docker-registries/external-docker-registries/). | Optional |
84
84
| `registry_contexts` | Advanced property for resolving Docker images when [working with multiple registries with the same domain]({{site.baseurl}}/docs/docker-registries/working-with-docker-registries/#working-with-multiple-registries-with-the-same-domain) | Optional |
85
-
|`disable_push` | Do not push to any registry automatically.[This property is only available in the new opt-in build step syntax]({{site.baseurl}}/docs/docker-registries/cfcr-deprecation/#using-a-default-registry-for-pipelines). | Optional |
85
+
|`disable_push` | Do not push to any registry automatically. | Optional |
86
86
| `no_cache` | Disable Docker engine cache for the build [more info](https://codefresh.io/docs/docs/troubleshooting/common-issues/disabling-codefresh-caching-mechanisms/) | Optional |
87
87
| `no_cf_cache` | Disable Codefresh build optimization for the build [more info](https://codefresh.io/docs/docs/troubleshooting/common-issues/disabling-codefresh-caching-mechanisms/)
88
88
| `build_arguments` | A set of [Docker build arguments](https://docs.docker.com/engine/reference/commandline/build/#set-build-time-variables-build-arg) to pass to the build process. | Optional |
@@ -126,7 +126,7 @@ steps:
126
126
tag:1.0.1
127
127
{% endhighlight %}
128
128
129
-
Build an image using a different Dockerfile and push multiple tags to the default registry. [This capability is only available in the new opt-in build step syntax]({{site.baseurl}}/docs/docker-registries/cfcr-deprecation/#using-a-default-registry-for-pipelines).
129
+
Build an image using a different Dockerfile and push multiple tags to the default registry.
130
130
131
131
`codefresh.yml`
132
132
{% highlight yaml %}
@@ -145,7 +145,7 @@ steps:
145
145
{% endraw %}
146
146
{% endhighlight %}
147
147
148
-
Build an image and automatotically push to the [registry]({{site.baseurl}}/docs/docker-registries/external-docker-registries/) with name `my-registry`. [This capability is only available in the new opt-in build step syntax]({{site.baseurl}}/docs/docker-registries/cfcr-deprecation/#using-a-default-registry-for-pipelines).
148
+
Build an image and automatotically push to the [registry]({{site.baseurl}}/docs/docker-registries/external-docker-registries/) with name `my-registry`.