block deploy

Runs the "deploy" script, which is defined by the block implementation.

Typically it deploys your application code into provisioned infrastructure

dgctl block deploy myApp

The default script for the standard container block on AWS builds your Dockerfile, then pushes the image to ECR. The new image is then automatically picked up by ECS.

block deploy is a convenience shorthand not intended to be used in production scenarios. In CD pipelines it is best to use the relevant third-party CLIs directly, eg docker build

Last updated