Skip to content

Commit

Permalink
update merge_master.yaml (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguyinabeanie authored Jul 31, 2023
1 parent 73a6170 commit 3b879f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildspec/merge_master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ phases:
pre_build:
commands:
- echo Logging in to Amazon ECR...
- $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION)
- aws ecr get-login-password --region ${AWS_DEFAULT_REGION} | docker login --username AWS --password-stdin ${REPOSITORY_URI}
build:
commands:
- echo Building the Docker image...
- docker build -t ${REPOSITORY_URI}:latest .
- docker push ${REPOSITORY_URI}
- docker image push --all-tags ${REPOSITORY_URI}
post_build:
commands:
- echo Build completed!

0 comments on commit 3b879f4

Please sign in to comment.