Skip to content

Commit

Permalink
👷 Push images from Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Jan 4, 2019
1 parent 486f908 commit bb7f973
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ services:

script:
- bash scripts/test.sh
- bash scripts/build-push.sh
9 changes: 9 additions & 0 deletions scripts/build-push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -e

echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

docker-compose -f docker-compose.build.yml build

docker-compose -f docker-compose.build.yml push

0 comments on commit bb7f973

Please sign in to comment.