From e2aef45987e0b82b67826cc0c5860bcf1a5b5e8b Mon Sep 17 00:00:00 2001 From: Alexander Kiryukhin Date: Thu, 31 Jan 2019 01:08:53 +0300 Subject: Docker runner --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 269da47..fef7b86 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,8 @@ variables: - docker push $CI_REGISTRY_IMAGE/$MODE:latest only: - master + tags: + - docker build daemon: <<: *build-master @@ -27,6 +29,8 @@ build daemon: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY - docker pull $CI_REGISTRY_IMAGE/$MODE:$CI_PIPELINE_IID - docker service update --image $CI_REGISTRY_IMAGE/$MODE:$CI_PIPELINE_IID $SERVICE_NAME-$MODE + tags: + - docker deploy daemon: <<: *deploy -- cgit v1.2.3