machine:
  services:
    - docker

dependencies:
  override:
    - docker info
    - make build
    - docker images

checkout:
    post:
        - git config user.name "Circle CI Build Bot"
        - git config user.email "no-reply@circleci.com"
        - git remote -v

test:
  override:
    - make test

deployment:
  hub:
    branch: master
    commands:
      - $DEPLOY_TO_HUB
      #- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
      #- make release

machine:
  services:
    - docker

dependencies:
  override:
    - docker info
    - make build
    - docker images

checkout:
    post:
        - git config user.name "Circle CI Build Bot"
        - git config user.email "no-reply@circleci.com"
        - git remote -v

test:
  override:
    - make test

deployment:
  hub:
    branch: master
    commands:
      - curl -H "Content-Type: application/json" --data '{"build": true}' -X POST https://registry.hub.docker.com/u/janeczku/alpine-kubernetes/trigger/$HUB_TRIGGER_TOKEN/
      #- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
      #- make release

Fix Docker Hub build trigger command
Fix Docker Hub build trigger command [ci skip]
