Action
ACS::CICD::DockerDeployOnSingleEcs
Description
Deploys a Docker image on an Elastic Compute Service (ECS) instance. This operation can be performed only on a Linux ECS instance.
Syntax
Action: ACS::CICD::DockerDeployOnSingleEcs
Properties:
regionId: String
instanceId: String
acrType: String
username: String
password: String
acrId: String
namespace: String
repoName: String
imageVersion: String
dockerRunOptions: String
isInternal: Boolean
Attributes
Attribute | Description | Type | Required | Default value | Limit |
regionId | The region ID. | String | No | {{ ACS::RegionId }} | |
instanceId | The ID of the ECS instance. | String | Yes | ||
acrType | The type of the container image. | String | Yes | ||
username | The username. | String | No | "" | |
password | The password. | String | No | "" | |
acrId | The ID of the Container Registry instance. | String | No | "" | |
namespace | The namespace. | String | No | "" | |
repoName | The name of the repository. | String | Yes | ||
imageVersion | The version of the image. | String | Yes | ||
dockerRunOptions | The Docker runtime options. | String | No | "" | Regular expression for string verification: ^(?!.–name).$ |
isInternal | Specifies whether to pull the image by using an internal URL. | Boolean | No | True |
Output
None
References
For more information, see ACS::CICD::DockerDeployOnSingleEcs.yml at GitHub.