All Products
Search
Document Center

CloudOps Orchestration Service:ACS::CICD::DockerDeploy

Last Updated:Sep 14, 2024

Action

ACS::CICD::DockerDeploy

Description

Deploys a Docker image on multiple Elastic Compute Service (ECS) instances. This operation can be performed only 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 on which you want to deploy the image.

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

Specifies whether to pull the image by using 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.