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

Commit3a50f4f

Browse files
Opt-in syntax is the default for the last year
1 parentcd31cfb commit3a50f4f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎_docs/codefresh-yaml/steps/build.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ step_name:
7979
| `dockerfile` | The path to the `Dockerfile` from which the image is built. The default is `Dockerfile`. | Default |
8080
| `image_name` | The name for the image you build. | Required |
8181
| `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 |
8484
| `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 |
8686
| `no_cache` | Disable Docker engine cache for the build [more info](https://codefresh.io/docs/docs/troubleshooting/common-issues/disabling-codefresh-caching-mechanisms/) | Optional |
8787
| `no_cf_cache` | Disable Codefresh build optimization for the build [more info](https://codefresh.io/docs/docs/troubleshooting/common-issues/disabling-codefresh-caching-mechanisms/)
8888
| `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:
126126
tag:1.0.1
127127
{% endhighlight %}
128128

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.
130130

131131
`codefresh.yml`
132132
{% highlight yaml %}
@@ -145,7 +145,7 @@ steps:
145145
{% endraw %}
146146
{% endhighlight %}
147147

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`.
149149

150150
`codefresh.yml`
151151
{% highlight yaml %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp