Skip to content

Commit

Permalink
mult step
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Jul 25, 2024
1 parent 4ac7a49 commit eea874a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ phases:
- aws ecr create-repository --repository-name mrt-init || echo 'ignore if exists...'
- aws ecr create-repository --repository-name mrt-database || echo 'ignore if exists...'


build:
build_base:
on-failure: ABORT
commands:
- docker buildx create --use
Expand All @@ -41,6 +40,11 @@ phases:
-t ${ECR_REGISTRY}/merritt-tomcat:dev \
--build-arg ECR_REGISTRY=${ECR_REGISTRY} \
--push mrt-inttest-services/merritt-tomcat
build_it_services:
on-failure: ABORT
commands:
- docker buildx create --use
- |
docker buildx build --platform linux/arm64,linux/amd64 \
-t ${ECR_REGISTRY}/mock-merritt-it:dev \
Expand All @@ -64,6 +68,11 @@ phases:
-t ${ECR_REGISTRY}/mrt-minio-it-with-content:dev \
--build-arg ECR_REGISTRY=${ECR_REGISTRY} \
--push mrt-inttest-services/mrt-minio-it-with-content
build_services:
on-failure: ABORT
commands:
- docker buildx create --use
- |
docker buildx build --platform linux/arm64,linux/amd64 \
-t ${ECR_REGISTRY}/fakesmtp:dev \
Expand Down

0 comments on commit eea874a

Please sign in to comment.