added runner tags so docker builds get assigned a runner

This commit is contained in:
Kai Kriegel 2020-10-06 13:23:09 +00:00
parent 59f090cd91
commit bbac5b3dda

View File

@ -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: