Update buildspec.yml

This commit is contained in:
chuckcharlie
2022-07-27 11:48:58 -06:00
committed by GitHub
parent f36d94b1b4
commit 6a3fc95ebc

View File

@@ -1,25 +1,18 @@
version: 0.2 version: 0.2
phases:
batch: install:
fast-fail: false commands:
build-graph: - yum update -y
- identifier: build1 pre_build:
env: commands:
variables: - echo Logging in to Amazon ECR...
BUILD_ID: amd64 - $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION)
IMAGE_TAG: amd64 build:
ignore-failure: false commands:
buildspec: amd64.yml - echo Build started on `date`
# - identifier: build2 - echo Building the Docker image...
# buildspec: build2.yml - docker build -t $IMAGE_REPO_NAME:$IMAGE_TAG .
# env: - docker tag $IMAGE_REPO_NAME:$IMAGE_TAG $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$IMAGE_TAG
# variables: post_build:
# BUILD_ID: build2 commands:
# depend-on: - echo Build completed on `date`
# - build1
# - identifier: build3
# env:
# variables:
# BUILD_ID: build3
# depend-on:
# - build2