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

Commit39e6646

Browse files
authored
Merge pull requestcodefresh-io#394 from codefresh-io/classic-ecr-cross-accoubt-push
Update push.md
2 parents7f2ff9a +dbc95c6 commit39e6646

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ step_name:
4242
on_finish:
4343
...
4444
retry:
45-
...
45+
...
46+
4647
{% endhighlight %}
4748

4849
##Fields
@@ -56,6 +57,9 @@ step_name:
5657
|`candidate`| The identifier of the image to push to the remote Docker registry. It can be an explicit identifier of an image to push, or a variable that references a`Build` step.| Required|
5758
|`tag`| The tag under which to push the image. Use either this or`tags`.<br> The default is`latest`.| Default|
5859
|`region`| Relevant only for[Amazon ECR]({{site.baseurl}}/docs/integrations/docker-registries/amazon-ec2-container-registry/) integrations using either service accounts or explicit credentials. The names of the regions for which to perform cross-region replication. The names of the source region and the destination region name must be defined in separate steps.| Optional|
60+
|`role_arn`| Relevant only for[Amazon ECR]({{site.baseurl}}/docs/integrations/docker-registries/amazon-ec2-container-registry/) integrations using either service accounts or explicit credentials. The role with the required permissions to use to pull the image. For example,`arn:aws:iam::<account-id>:role/<role-name>`| Required|
61+
|`aws_session_name`| Relevant only for[Amazon ECR]({{site.baseurl}}/docs/integrations/docker-registries/amazon-ec2-container-registry/) integrations using either service accounts or explicit credentials. The name of the AWS session. If not defined,`default-session-name` is used.| Default|
62+
|`aws_duration_seconds`| Relevant only for[Amazon ECR]({{site.baseurl}}/docs/integrations/docker-registries/amazon-ec2-container-registry/) integrations using either service accounts or explicit credentials. The length of time, in seconds, for which the role credentials are considered valid, and must be between`900-3600` seconds. If not defined, the duration is set to the default of`3600` seconds.| Default|
5963
| `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_LOWER_CASE}}{% 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_LOWER_CASE}}{% endraw %}'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">tag4'</span> <span class="pi">]</span></code></pre></figure>{:/} | Default |
6064
|`image_name`| The tagged image name that will be used The default value will be the same image name as of the candidate.| Default|
6165
|`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/).| Default|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp