Skip to content

3.6.1

Choose a tag to compare

@gabrielamaximino gabrielamaximino released this 21 Mar 15:33
· 20 commits to main since this release
  • Added the parameter USE_STATIC_IMAGE in the EXTRA_CONTAINERS block. If USE_STATIC_IMAGE is true, you must add the image with the tag in the APP_IMAGE field. If it is false, add only the image, and the image tag will be dynamically changed according to the commit.

Example with static image:

development:
  ECR_AWS_REGION: us-east-2
  ECR_AWS_ACCOUNT: '333333333333'
  ...
  ECR_AWS_ROLE: your-deploy-role
  EXTRA_CONTAINERS:                    
      - APP_NAME: datadog
        APP_IMAGE: public.ecr.aws/datadog/agent:7.64.1     #  static tag image   
        USE_STATIC_IMAGE: true
        IS_FARGATE: false
        APP_VARIABLES: [] 
        APP_SECRETS: []
        APP_MEMORY: 1024
        APP_MEMORY_RESERVATION: 1024
        APP_CPU: 1024        

Example without static image:

development:
  ECR_AWS_REGION: us-east-2
  ECR_AWS_ACCOUNT: '333333333333'
  ...
  ECR_AWS_ROLE: your-deploy-role
  EXTRA_CONTAINERS:         
      - APP_NAME: datadog
        APP_IMAGE: public.ecr.aws/datadog/agent     # tag will be added based on your build number/commit
        USE_STATIC_IMAGE: false
        IS_FARGATE: false
        APP_VARIABLES: [] 
        APP_SECRETS: []
        APP_MEMORY: 1024
        APP_MEMORY_RESERVATION: 1024
        APP_CPU: 1024