From fd8b93d386dc0f2d1b34d19a427f7511a408c9b0 Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Wed, 9 Oct 2019 12:44:46 +0200 Subject: [PATCH] Add Tags for use with shared runners --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d95a74..a4b4188 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,8 @@ stages: - deploy kaniko: + tags: + - docker stage: build image: name: gcr.io/kaniko-project/executor:debug @@ -15,6 +17,8 @@ kaniko: - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/docker/test/Dockerfile --destination $CI_REGISTRY_IMAGE/test --destination $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA --destination $CI_REGISTRY_IMAGE/test/branches:$CI_COMMIT_REF_SLUG rails spec: + tags: + - docker stage: test image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA script: @@ -23,6 +27,8 @@ rails spec: - bundle exec rails spec kubernetes: + tags: + - turniere-deploy stage: deploy only: - master