docker-build: image: docker:latest stage: build services: - docker:dind before_script: - apk add make go - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin script: - make clean-webui generate-webui - go generate - go build ./cmd/traefik - cp ~/go/src/github.com/traefik/traefik . - docker build . -t registry.baalajimaestro.me/baalajimaestro/traefik:latest - docker push registry.baalajimaestro.me/baalajimaestro/traefik:latest