Skip to content

Instantly share code, notes, and snippets.

@jacoelho
Created June 1, 2015 14:34
Show Gist options
  • Save jacoelho/2d81f3264be59c4d8a0d to your computer and use it in GitHub Desktop.
Save jacoelho/2d81f3264be59c4d8a0d to your computer and use it in GitHub Desktop.
circle.yml
machine:
ruby:
version: 2.1.5
services:
- docker
dependencies:
override:
- docker info
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- bundle install
- bundle exec rake docker:build[memcached]
test:
override:
- bundle exec rake spec:memcached
deployment:
production:
branch: master
commands:
- bundle exec rake docker:push[memcached]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment