# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 OR ISC version: 0.2 env: variables: GOPROXY: https://proxy.golang.org,direct phases: install: commands: - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2& - timeout 15 sh -c "until docker info; do echo .; sleep 1; done" pre_build: commands: - aws --version - echo $AWS_DEFAULT_REGION - $(aws ecr get-login --region $AWS_DEFAULT_REGION --no-include-email) build: commands: - cd ./tests/ci/docker_images/linux-aarch - ./build_images.sh - ./push_images.sh $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$AWS_ECR_REPO_AARCH