Add git and variables
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
74691caedf
commit
9654e9cefc
1 changed files with 5 additions and 2 deletions
|
@ -4,12 +4,15 @@ docker-build:
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
before_script:
|
before_script:
|
||||||
- apk add make go
|
- apk add make go 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:
|
||||||
|
GO111MODULE: "on"
|
||||||
|
GOPATH: "/root/go"
|
||||||
script:
|
script:
|
||||||
- make clean-webui generate-webui
|
- make clean-webui generate-webui
|
||||||
- go generate
|
- go generate
|
||||||
- go build ./cmd/traefik
|
- go build ./cmd/traefik
|
||||||
- cp ~/go/src/github.com/traefik/traefik .
|
- cp ~/go/src/github.com/traefik/traefik .
|
||||||
- docker build . -t registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
- 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