From bbac5b3dda83738cd3c0fc4354c9afab4d0ad352 Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Tue, 6 Oct 2020 13:23:09 +0000 Subject: [PATCH] added runner tags so docker builds get assigned a runner --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d940ae2..0f10cfc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -65,7 +65,6 @@ test:cargo: - docker build:docker-master: - stage: build image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] @@ -75,9 +74,11 @@ build:docker-master: - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest only: - master + tags: + - linux + - docker build:docker-releases: - stage: build image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] @@ -87,9 +88,11 @@ build:docker-releases: - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG only: - tags + tags: + - linux + - docker build:docker-development: - stage: build image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] @@ -99,6 +102,9 @@ build:docker-development: - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:dev-$CI_COMMIT_TAG only: - development + tags: + - linux + - docker # cache dependencies and build environment to speed up setup cache: