machine:
  node:
    version: 4.4.3
  services:
    - docker
dependencies:
  override:
    - npm install
    - npm run compile
    - docker info
    - docker build -t inumedia/maplestory.io .
deployment:
  hub:
    branch: master
    commands:
      - npm run compile
      - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
      - docker push inumedia/maplestory.io

machine:
  node:
    version: 4.4.3
  services:
    - docker
dependencies:
  override:
    - npm install
    - npm run compile
    - docker info
    - docker build -t inumedia/maplestory.io .
deployment:
  hub:
    branch: master
    commands:
      - npm run compile
      - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
      - docker push inumedia/maplestory.io:master

Tag master builds as master images
Tag master builds as master images
