From 1a891a608808ea2c5d8dfc0db0f981cf784e4f50 Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Mon, 25 Apr 2022 17:27:41 +0530 Subject: [PATCH] Add gitlab-ci config to auto-build everytime on push Signed-off-by: baalajimaestro --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..c5be84d87 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file