diff options
author | Alexander Kiryukhin <alexander@kiryukhin.su> | 2019-01-31 01:08:53 +0300 |
---|---|---|
committer | Alexander Kiryukhin <alexander@kiryukhin.su> | 2019-01-31 01:08:53 +0300 |
commit | e2aef45987e0b82b67826cc0c5860bcf1a5b5e8b (patch) | |
tree | 11f6d4b76fefd0d452b831fc292a7177a0bcd13d | |
parent | 769f0c4c09573d9962de331e08c997fff2a75212 (diff) |
Docker runner
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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 |