machine:
  services:
    - docker
  environment:
    ci: "true"
dependencies:
  override:
    - docker info
    - go version
test:
  override:
    - docker build -t quay.io/opsee/gozer:latest .
deployment:
  quay:
    branch: master
    owner: opsee
    commands:
      - docker login -e $DOCKER_EMAIL -u $DOCKER_USERNAME -p $DOCKER_PASSWORD quay.io
      - docker push quay.io/opsee/gozer:latest

machine:
  services:
    - docker
  environment:
    ci: "true"
dependencies:
  override:
    - docker info
    - go version
test:
  override:
    - docker build -t quay.io/opsee/gozer:$(CIRCLE_SHA1) .
deployment:
  quay:
    branch: master
    owner: opsee
    commands:
      - docker login -e $DOCKER_EMAIL -u $DOCKER_USERNAME -p $DOCKER_PASSWORD quay.io
      - docker push quay.io/opsee/gozer:$(CIRCLE_SHA1)

Tag gozer with git sha
Tag gozer with git sha
