Created
December 18, 2017 15:17
-
-
Save TheDeveloper/0bd7828cd7ab28bf5a0ed4d0c4565536 to your computer and use it in GitHub Desktop.
Revisions
-
TheDeveloper created this gist
Dec 18, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ version: 0.1 phases: pre_build: commands: - $(aws ecr get-login --region $AWS_REGION) - pip install docker-compose build: commands: - docker build -t $APP_IMAGE . - COMPOSE_HTTP_TIMEOUT=200 docker-compose run --rm test - docker push $APP_IMAGE post_build: commands: - echo Build completed on `date`