From ef3b0f03ca1561e32959bf29fc2b44c506f3ea14 Mon Sep 17 00:00:00 2001 From: Andreas Tsagkaropoulos Date: Wed, 9 Jun 2021 11:34:39 +0300 Subject: [PATCH] Improvement of build script for slo-severity-calculator --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 281fbe60..da6bfe3e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -144,6 +144,8 @@ deploy:slo-severity-calculator: - $DOCKER_DIND_SERVICE script: - cd morphemic-slo-severity-calculator + - mkdir -p target/ + - cp /builds/melodic/morphemic-preprocessor/maven_repo/gr/ntua/imu/morphemic/SLOSeverityCalculator/1.0-SNAPSHOT/SLOSeverityCalculator-1.0-SNAPSHOT.jar target/ - docker build -t slo_severity_calculator -f ./Dockerfile . - docker image ls - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin -- GitLab