Add back docker build
Looks like it just works fine Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
9654e9cefc
commit
2685d94660
1 changed files with 3 additions and 6 deletions
|
@ -4,15 +4,12 @@ docker-build:
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
before_script:
|
before_script:
|
||||||
- apk add make go git
|
- apk add make git
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
||||||
variables:
|
variables:
|
||||||
GO111MODULE: "on"
|
GO111MODULE: "on"
|
||||||
GOPATH: "/root/go"
|
GOPATH: "/root/go"
|
||||||
script:
|
script:
|
||||||
- make clean-webui generate-webui
|
- make build-image
|
||||||
- go generate
|
- docker tag traefik/traefik registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
||||||
- 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
|
- docker push registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
||||||
|
|
Loading…
Reference in a new issue