Skip to content

Build Command execution errors due to targetRegion and ECR_DN #8

Open
@NxP4Code

Description

@NxP4Code

If we clone the repo and follow the steps mentioned in the document we get the following errors.

Get https://xxx.dkr.ecr.***.amazonaws.com.cn/v2/: dial tcp: lookup xxx.dkr.ecr.***.amazonaws.com.cn on 10.0.0.2:53: no such host 76 |   77 | [Container] 2024/02/15 02:17:39.123150 Command did not exit successfully echo "Hello, CodeBuild!, push to ${targetRegion}" 78 | bash ./mirror-images.sh 79 | exit status 1 80 | [Container] 2024/02/15 02:17:39.126557 Phase complete: BUILD State: FAILED 81 | [Container] 2024/02/15 02:17:39.126575 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: echo "Hello, CodeBuild!, push to ${targetRegion}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions