From 0c00d3050dad4bcf6c28476959c72f6f48dd35f1 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 11 Jul 2022 17:44:55 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8f0b30e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +build_image: + image: docker + stage: build + services: + - docker:dind + script: + - echo $CI_REGISTRY_USER + - echo $CI_REGISTRY + - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + - docker build -t $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:latest . + - docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:latest