tweaking setup

master
Thomas Riboulet 9 years ago
parent dfa730d397
commit 63167db67b

@ -2,6 +2,11 @@ machine:
services: services:
- docker - docker
dependencies:
pre:
- pip install awscli
- docker build -t mcansky/sinatra_hello:$CIRCLE_SHA1 .
test: test:
override: override:
- echo "Bob"; sleep 10 - echo "Bob"; sleep 10
@ -11,4 +16,4 @@ deployment:
branch: master branch: master
commands: commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push mcansky/sinatra_hello - docker push mcansky/sinatra_hello:$CIRCLE_SHA1

Loading…
Cancel
Save