Revert: Switch to LXC Runner

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-05-08 19:08:11 +05:30
parent 1a891a6088
commit 74691caedf
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -1,8 +1,15 @@
docker-build: docker-build:
image: docker:latest
stage: build stage: build
services:
- docker:dind
before_script: before_script:
- apk add make go
- 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
script: script:
- make build-image - make clean-webui generate-webui
- docker tag traefik/traefik registry.baalajimaestro.me/baalajimaestro/traefik:latest - 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 - docker push registry.baalajimaestro.me/baalajimaestro/traefik:latest