Add gitlab-ci config to auto-build everytime on push
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
5b6bd07de8
commit
1a891a6088
1 changed files with 8 additions and 0 deletions
8
.gitlab-ci.yml
Normal file
8
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
docker-build:
|
||||||
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
||||||
|
script:
|
||||||
|
- make build-image
|
||||||
|
- docker tag traefik/traefik registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
||||||
|
- docker push registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
Loading…
Reference in a new issue