From 2557584956f92dbb824cd2717eb38494a2fe06ad Mon Sep 17 00:00:00 2001 From: Anna Warno Date: Wed, 21 Jul 2021 07:29:25 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3258f561..a1b35037 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -212,3 +212,18 @@ deploy:tft: - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin - docker tag tft:latest $CI_REGISTRY_IMAGE/tft:$CI_COMMIT_BRANCH - docker push $CI_REGISTRY_IMAGE/tft:$CI_COMMIT_BRANCH + +deploy:arima: + stage: deploy + image: $DOCKER_DIND_IMAGE + only: + - master + - morphemic-rc1.5 + services: + - $DOCKER_DIND_SERVICE + script: + - docker build -t arima -f ./deployment/arima/Dockerfile . + - docker image ls + - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin + - docker tag arima:latest $CI_REGISTRY_IMAGE/arima:$CI_COMMIT_BRANCH + - docker push $CI_REGISTRY_IMAGE/arima:$CI_COMMIT_BRANCH -- GitLab