diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b14fae9f..838ab8dc3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,12 +4,15 @@ docker-build: services: - docker:dind before_script: - - apk add make go + - apk add make go git - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin + variables: + GO111MODULE: "on" + GOPATH: "/root/go" 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 \ No newline at end of file + - docker push registry.baalajimaestro.me/baalajimaestro/traefik:latest