Deploy a Docker image on multiple ECS instances running Linux.
Action
ACS::CICD::DockerDeploy
Description
Deploys a Docker image on multiple Elastic Compute Service (ECS) instances. Only supported on Linux instances.
Syntax
Action: ACS::CICD::DockerDeploy
Properties:
regionId: String
targets: Json
acrId: String
namespace: String
repoName: String
imageVersion: String
dockerRunOptions: String
isInternal: Boolean
rateControl: Json
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
targets |
The ECS instances to deploy the image on. |
Json |
Yes |
||
|
acrId |
The ID of the Container Registry repository. |
String |
Yes |
||
|
namespace |
The namespace. |
String |
Yes |
||
|
repoName |
The name of the repository. |
String |
Yes |
||
|
imageVersion |
The version of the image. |
String |
Yes |
||
|
dockerRunOptions |
The Docker runtime options. |
String |
No |
"" |
|
|
isInternal |
Whether to pull the image over an internal URL. |
Boolean |
No |
True |
|
|
rateControl |
The number of concurrent tasks. |
Json |
No |
{'Mode': 'Concurrency', 'MaxErrors': 0, 'Concurrency': 10} |
Output
None
References
For more information, see ACS::CICD::DockerDeploy.yml at GitHub.