machine:
  services:
    - docker
    
dependencies:
  post:
    - docker build --rm=false -t cwmr/gomp .

deployment:
  hub:
    branch: feature/Docker-Support
    commands:
      - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASSWORD
      - docker push cwmr/gomp
machine:
  services:
    - docker
    
dependencies:
  pre:
    - docker build --rm=false -t cwmr/gomp .

deployment:
  hub:
    branch: feature/Docker-Support
    commands:
      - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASSWORD
      - docker push cwmr/gomp
Build docker before main build
Build docker before main build

