summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
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