Add gitlab-ci config to auto-build everytime on push

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-04-25 17:27:41 +05:30
parent 5b6bd07de8
commit 1a891a6088
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

8
.gitlab-ci.yml Normal file
View 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